Skip to content

Commit 2b88012

Browse files
authored
Declare nullable parameter types explicitly (#31)
Implicit nullable parameter types will be deprecated in PHP 8.4
1 parent d635f13 commit 2b88012

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Codeception/Module/Doctrine.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ public function _depends(): array
192192
return [DoctrineProvider::class => $this->dependencyMessage];
193193
}
194194

195-
public function _inject(DoctrineProvider $dependentModule = null): void
195+
public function _inject(?DoctrineProvider $dependentModule = null): void
196196
{
197197
$this->dependentModule = $dependentModule;
198198
}

0 commit comments

Comments
 (0)