Skip to content

Commit a32a623

Browse files
Apply php-cs-fixer fix --rules nullable_type_declaration_for_default_null_value
1 parent 4659b55 commit a32a623

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
@@ -86,7 +86,7 @@ public function __construct(array $options = [])
8686
/**
8787
* {@inheritdoc}
8888
*/
89-
public function getResolver(callable $callable, \ReflectionFunction $reflector = null): ResolverInterface
89+
public function getResolver(callable $callable, ?\ReflectionFunction $reflector = null): ResolverInterface
9090
{
9191
if (!$callable instanceof \Closure) {
9292
$callable = \Closure::fromCallable($callable);

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)