Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Correct typehint style
Browse files Browse the repository at this point in the history
Typehints of parameters, that have a default value of `null` do not
have to be marked nullable explicitly, i.e. `?string` can be just
`string`.
  • Loading branch information
tux-rampage committed Jan 25, 2018
1 parent 5304a77 commit 814501f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CodeGenerator/InjectorGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class InjectorGenerator
public function __construct(
ConfigInterface $config,
DependencyResolverInterface $resolver,
?string $namespace = null,
string $namespace = null,
LoggerInterface $logger = null
) {
$this->config = $config;
Expand Down

0 comments on commit 814501f

Please sign in to comment.