From da39fb8ad84e1599da9485d47a2dba296a307427 Mon Sep 17 00:00:00 2001 From: Marcel Pociot Date: Sun, 1 Nov 2020 19:34:33 +0000 Subject: [PATCH] Apply fixes from StyleCI --- app/Client/Http/HttpClient.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Client/Http/HttpClient.php b/app/Client/Http/HttpClient.php index e9146e5..2d12bda 100644 --- a/app/Client/Http/HttpClient.php +++ b/app/Client/Http/HttpClient.php @@ -92,7 +92,7 @@ class HttpClient ]) ->send($request) ->then(function (ResponseInterface $response) use ($proxyConnection) { - if (!isset($response->buffer)) { + if (! isset($response->buffer)) { $response = $this->rewriteResponseHeaders($response); $response->buffer = str($response); @@ -139,13 +139,13 @@ class HttpClient protected function rewriteResponseHeaders(ResponseInterface $response) { - if (!$response->hasHeader('Location')) { + if (! $response->hasHeader('Location')) { return $response; } $location = $response->getHeaderLine('Location'); - if (!strstr($location, $this->connectionData->host)) { + if (! strstr($location, $this->connectionData->host)) { return $response; }