Skip to content

Commit a8d2b8f

Browse files
Merge branch '5.4' into 6.3
* 5.4: Fix implicitly-required parameters List CS fix in .git-blame-ignore-revs Apply php-cs-fixer fix --rules nullable_type_declaration_for_default_null_value [Messenger][AmazonSqs] Allow async-aws/sqs version 2
2 parents d5c0949 + a32a623 commit a8d2b8f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

GenericRuntime.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function __construct(array $options = [])
8383
$this->options = $options;
8484
}
8585

86-
public function getResolver(callable $callable, \ReflectionFunction $reflector = null): ResolverInterface
86+
public function getResolver(callable $callable, ?\ReflectionFunction $reflector = null): ResolverInterface
8787
{
8888
$callable = $callable(...);
8989
$parameters = ($reflector ?? new \ReflectionFunction($callable))->getParameters();

Runner/Symfony/ConsoleApplicationRunner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class ConsoleApplicationRunner implements RunnerInterface
2727
private $input;
2828
private $output;
2929

30-
public function __construct(Application $application, ?string $defaultEnv, InputInterface $input, OutputInterface $output = null)
30+
public function __construct(Application $application, ?string $defaultEnv, InputInterface $input, ?OutputInterface $output = null)
3131
{
3232
$this->application = $application;
3333
$this->defaultEnv = $defaultEnv;

RuntimeInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ interface RuntimeInterface
2323
*
2424
* The callable itself should return an object that represents the application to pass to the getRunner() method.
2525
*/
26-
public function getResolver(callable $callable, \ReflectionFunction $reflector = null): ResolverInterface;
26+
public function getResolver(callable $callable, ?\ReflectionFunction $reflector = null): ResolverInterface;
2727

2828
/**
2929
* Returns a callable that knows how to run the passed object and that returns its exit status as int.

0 commit comments

Comments
 (0)