Skip to content

Commit

Permalink
Declare nullable parameter types explicitly
Browse files Browse the repository at this point in the history
Implicit nullable parameter types will be deprecated in PHP 8.4
  • Loading branch information
W0rma committed Jul 27, 2024
1 parent d635f13 commit 8933345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Codeception/Module/Doctrine.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public function _depends(): array
return [DoctrineProvider::class => $this->dependencyMessage];
}

public function _inject(DoctrineProvider $dependentModule = null): void
public function _inject(?DoctrineProvider $dependentModule = null): void
{
$this->dependentModule = $dependentModule;
}
Expand Down

0 comments on commit 8933345

Please sign in to comment.