From b95385d8b66cc1b9515b887830b782e7f4c62af9 Mon Sep 17 00:00:00 2001 From: Araz Date: Sun, 3 Dec 2023 13:59:03 +0330 Subject: [PATCH] Fix runtime fatal error Declaration in Yii2.php Upgrading `symfony/browser-kit` from `v6.4.0` to `v7.0.0` getting runtime error. --- src/Codeception/Lib/Connector/Yii2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Codeception/Lib/Connector/Yii2.php b/src/Codeception/Lib/Connector/Yii2.php index fadb35e..d18a3a3 100644 --- a/src/Codeception/Lib/Connector/Yii2.php +++ b/src/Codeception/Lib/Connector/Yii2.php @@ -480,7 +480,7 @@ protected function mockMailer(array $config) return $config; } - public function restart() + public function restart(): void { parent::restart(); $this->resetApplication();