@@ -12,7 +12,7 @@ |
||
12 | 12 | * @date 05.05.18 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\JsonAPIClient\Schemas; |
18 | 18 |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | * @date 05.05.18 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\JsonAPIClient\Clients; |
18 | 18 | |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | */ |
167 | 167 | public function addAuthorization(string $token) : void |
168 | 168 | { |
169 | - $this->addHeader('Authorization', 'Bearer ' . $token); |
|
169 | + $this->addHeader('Authorization', 'Bearer '.$token); |
|
170 | 170 | } |
171 | 171 | |
172 | 172 | /** |
@@ -311,8 +311,7 @@ discard block |
||
311 | 311 | private function httpContainsBody(PsrRequest $request, ?PsrResponse $response = NULL) : bool |
312 | 312 | { |
313 | 313 | return $response ? |
314 | - $this->doesResponseHaveBody($request, $response) : |
|
315 | - $this->doesRequestHaveBody($request); |
|
314 | + $this->doesResponseHaveBody($request, $response) : $this->doesRequestHaveBody($request); |
|
316 | 315 | } |
317 | 316 | |
318 | 317 | /** |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * @date 05.05.18 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\JsonAPIClient\Clients; |
18 | 18 |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * @date 05.05.18 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\JsonAPIClient\Http; |
18 | 18 |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * @date 06.05.18 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\JsonAPIClient\Exceptions; |
18 | 18 |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * @date 12.05.17 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\JsonAPIClient\Exceptions; |
18 | 18 |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * @date 05.05.16 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\JsonAPIClient\DI; |
18 | 18 |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * @date 06.05.18 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\JsonAPIClient\DI; |
18 | 18 |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * @date 05.05.18 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\JsonAPIClient\Objects; |
18 | 18 |