diff --git a/src/Codeception/Module/Doctrine.php b/src/Codeception/Module/Doctrine.php index a10de5f..eb6f865 100644 --- a/src/Codeception/Module/Doctrine.php +++ b/src/Codeception/Module/Doctrine.php @@ -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; }