- Fixed for PHP 8.5
This commit is contained in:
parent
91bcd381f8
commit
6c5f0b1f40
@ -21,7 +21,7 @@ class CliMiddleware implements MiddlewareInterface
|
||||
|
||||
public ContainerInterface $container;
|
||||
|
||||
public null|CommandFetcher $fetcher;
|
||||
public ?CommandFetcher $fetcher;
|
||||
|
||||
public CommandStack $commands;
|
||||
|
||||
@ -31,7 +31,7 @@ class CliMiddleware implements MiddlewareInterface
|
||||
|
||||
protected array $parsedOptions = [];
|
||||
|
||||
public function __construct(ContainerInterface $container, callable $defaultResponseInterface = null, null|CommandFetcher $fetcher = null, null|CommandStack $stack = null, bool $allowAsciiFormatting = true) {
|
||||
public function __construct(ContainerInterface $container, ? callable $defaultResponseInterface = null, ?CommandFetcher $fetcher = null, ?CommandStack $stack = null, bool $allowAsciiFormatting = true) {
|
||||
$this->defaultResponse = $defaultResponseInterface;
|
||||
$this->container = $container;
|
||||
$this->fetcher = $fetcher;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user