Skip to content

Commit 73045f1

Browse files
author
Jan Kapciar
committed
client class name put back because of Symfony based frameworks
1 parent 4c0ef17 commit 73045f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Codeception/Lib/InnerBrowser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ protected function clientRequest($method, $uri, array $parameters = [], array $f
195195
$maxRedirects = $this->client->getMaxRedirects();
196196
} else {
197197
//Symfony 2.7 support
198-
$isFollowingRedirects = ReflectionHelper::readPrivateProperty($this->client, 'followRedirects');
199-
$maxRedirects = ReflectionHelper::readPrivateProperty($this->client, 'maxRedirects');
198+
$isFollowingRedirects = ReflectionHelper::readPrivateProperty($this->client, 'followRedirects', 'Symfony\Component\BrowserKit\Client');
199+
$maxRedirects = ReflectionHelper::readPrivateProperty($this->client, 'maxRedirects', 'Symfony\Component\BrowserKit\Client');
200200
}
201201

202202
if (!$isFollowingRedirects) {

0 commit comments

Comments
 (0)