From 89333454a11a117f361dc4819cbeb98b722f4764 Mon Sep 17 00:00:00 2001 From: W0rma Date: Sat, 27 Jul 2024 12:55:08 +0200 Subject: [PATCH] Declare nullable parameter types explicitly Implicit nullable parameter types will be deprecated in PHP 8.4 --- src/Codeception/Module/Doctrine.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }