Skip to content

Commit

Permalink
Merge pull request #93 from jafaripur/patch-1
Browse files Browse the repository at this point in the history
Fix runtime fatal error Declaration in Yii2.php
  • Loading branch information
SamMousa committed Dec 4, 2023
2 parents d819def + b95385d commit 2971f1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Codeception/Lib/Connector/Yii2.php
Expand Up @@ -480,7 +480,7 @@ protected function mockMailer(array $config)
return $config;
}

public function restart()
public function restart(): void
{
parent::restart();
$this->resetApplication();
Expand Down

0 comments on commit 2971f1f

Please sign in to comment.