Skip to content

Commit b95385d

Browse files
authored
Fix runtime fatal error Declaration in Yii2.php
Upgrading `symfony/browser-kit` from `v6.4.0` to `v7.0.0` getting runtime error.
1 parent d819def commit b95385d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Codeception/Lib/Connector/Yii2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ protected function mockMailer(array $config)
480480
return $config;
481481
}
482482

483-
public function restart()
483+
public function restart(): void
484484
{
485485
parent::restart();
486486
$this->resetApplication();

0 commit comments

Comments
 (0)