Невозможно выполнить автоматическое подключение службы
"App\Service\Order\Exception\StripeRequiresActionException": аргумент
"$secretKey" метода "__construct()" представляет собой "строку" с подсказками типа, вы
должны указать ее значение явно.
Это мой класс:
Код: Выделить всё
class StripeRequiresActionException extends \Exception
{
/**
* @var string
*/
protected $secretKey;
public function __construct(string $secretKey)
{
parent::__construct();
$this->secretKey = $secretKey;
}
/**
* @return string
*/
public function getSecretKey(): string
{
return $this->secretKey;
}
}
Подробнее здесь: https://stackoverflow.com/questions/578 ... -directory