diff --git a/composer.json b/composer.json index a9ec5d9..454383c 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "codeception/codeception": "*@dev", "codeception/lib-innerbrowser": "*@dev", "guzzlehttp/guzzle": "^7.4", - "symfony/browser-kit": "^5.4 || ^6.0" + "symfony/browser-kit": "^4.4" }, "require-dev": { "ext-curl": "*", diff --git a/src/Codeception/Lib/Connector/Guzzle.php b/src/Codeception/Lib/Connector/Guzzle.php index 3816b1d..1ad674a 100644 --- a/src/Codeception/Lib/Connector/Guzzle.php +++ b/src/Codeception/Lib/Connector/Guzzle.php @@ -156,7 +156,7 @@ protected function createResponse(Psr7Response $psr7Response): BrowserKitRespons return new BrowserKitResponse($body, $status, $headers); } - protected function getAbsoluteUri(string $uri): string + protected function getAbsoluteUri($uri): string { $baseUri = $this->client->getConfig('base_uri'); if (strpos($uri, '://') === false && strpos($uri, '//') !== 0) {