@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | /** |
| 3 | 3 | * This file is part of the Tmdb package. |
| 4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | /** |
| 3 | 3 | * This file is part of the Tmdb package. |
| 4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | /** |
| 3 | 3 | * This file is part of the Tmdb package. |
| 4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | /** |
| 3 | 3 | * This file is part of the Tmdb package. |
| 4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | /** |
| 3 | 3 | * This file is part of the Tmdb package. |
| 4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | /** |
| 3 | 3 | * This file is part of the Tmdb package. |
| 4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | /** |
| 3 | 3 | * This file is part of the Tmdb package. |
| 4 | 4 | * |
@@ -167,15 +167,15 @@ |
||
| 167 | 167 | { |
| 168 | 168 | $res = new \stdClass(); |
| 169 | 169 | switch ($method) { |
| 170 | - case 'GET': |
|
| 170 | + case 'GET': |
|
| 171 | 171 | $res = $this->http_request->getResponse($url); |
| 172 | - break; |
|
| 173 | - case 'POST': |
|
| 172 | + break; |
|
| 173 | + case 'POST': |
|
| 174 | 174 | $res = $this->http_request->postResponse($url, [], $form_params); |
| 175 | - break; |
|
| 176 | - case 'DELETE': |
|
| 175 | + break; |
|
| 176 | + case 'DELETE': |
|
| 177 | 177 | $res = $this->http_request->deleteResponse($url); |
| 178 | - break; |
|
| 178 | + break; |
|
| 179 | 179 | } |
| 180 | 180 | |
| 181 | 181 | if (empty($res->getBody())) { |
@@ -1,4 +1,4 @@ discard block |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | /** |
| 4 | 4 | * This file is part of the Tmdb package. |
@@ -240,7 +240,7 @@ discard block |
||
| 240 | 240 | */ |
| 241 | 241 | public function checkOptions(array $options) : array |
| 242 | 242 | { |
| 243 | - $params = []; |
|
| 243 | + $params = []; |
|
| 244 | 244 | // Check options |
| 245 | 245 | foreach ($options as $key => $value) { |
| 246 | 246 | switch ($key) { |
@@ -313,7 +313,7 @@ discard block |
||
| 313 | 313 | default: |
| 314 | 314 | throw new IncorrectParamException; |
| 315 | 315 | } |
| 316 | - return 'created_at.'.$direction; |
|
| 316 | + return 'created_at.' . $direction; |
|
| 317 | 317 | } |
| 318 | 318 | |
| 319 | 319 | /** |