Skip to content

Commit

Permalink
Merge branch '6.3' into 6.4
Browse files Browse the repository at this point in the history
* 6.3:
  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
  • Loading branch information
nicolas-grekas committed Jan 23, 2024
2 parents 8653923 + a8d2b8f commit 5682281
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GenericRuntime.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function __construct(array $options = [])
$this->options = $options;
}

public function getResolver(callable $callable, \ReflectionFunction $reflector = null): ResolverInterface
public function getResolver(callable $callable, ?\ReflectionFunction $reflector = null): ResolverInterface
{
$callable = $callable(...);
$parameters = ($reflector ?? new \ReflectionFunction($callable))->getParameters();
Expand Down
2 changes: 1 addition & 1 deletion RuntimeInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ interface RuntimeInterface
*
* The callable itself should return an object that represents the application to pass to the getRunner() method.
*/
public function getResolver(callable $callable, \ReflectionFunction $reflector = null): ResolverInterface;
public function getResolver(callable $callable, ?\ReflectionFunction $reflector = null): ResolverInterface;

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

0 comments on commit 5682281

Please sign in to comment.