Skip to content

Commit 0adbebc

Browse files
committed
fixed 2.2 compat
1 parent c6b124a commit 0adbebc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Codeception/Module/Symfony.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ public function _initialize()
190190
/**
191191
* Initialize new client instance before each test
192192
*/
193-
public function _before(\Codeception\TestCase $test)
193+
public function _before(\Codeception\TestInterface $test)
194194
{
195195
$this->persistentServices = array_merge($this->persistentServices, $this->permanentServices);
196196
$this->client = new Symfony2Connector($this->kernel, $this->persistentServices, $this->config['rebootable_client']);
@@ -199,7 +199,7 @@ public function _before(\Codeception\TestCase $test)
199199
/**
200200
* Update permanent services after each test
201201
*/
202-
public function _after(\Codeception\TestCase $test)
202+
public function _after(\Codeception\TestInterface $test)
203203
{
204204
foreach ($this->permanentServices as $serviceName => $service) {
205205
$this->permanentServices[$serviceName] = $this->grabService($serviceName);

0 commit comments

Comments
 (0)