Skip to content

Commit ef2c2fd

Browse files
Merge branch '6.4' into 7.0
* 6.4: Fix implicitly-required parameters minor #53524 [Messenger] [AmazonSqs] Allow `async-aws/sqs` version 2 (smoench) Fix bad merge List CS fix in .git-blame-ignore-revs 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 65a4e69 + 5682281 commit ef2c2fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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();

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)