From d4ca87afdb854ea7a8166c2e20d7a8af59323efa Mon Sep 17 00:00:00 2001 From: Saurabh Kumar Date: Mon, 16 Dec 2024 17:54:51 +0530 Subject: [PATCH] PHP 8.4 deprecation fixes --- test/codeception-report/unit/StepsTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/codeception-report/unit/StepsTest.php b/test/codeception-report/unit/StepsTest.php index bbfefb5..d29ccb5 100644 --- a/test/codeception-report/unit/StepsTest.php +++ b/test/codeception-report/unit/StepsTest.php @@ -91,7 +91,7 @@ public function __construct(string $failure, string $action, array $arguments = $this->failure = $failure; } - public function run(ModuleContainer $container = null): void + public function run(?ModuleContainer $container = null): void { $this->setFailed(true); Unit::fail($this->failure);