Passed
Branch account (733a83)
by vincent
02:35
created
src/VfacTmdb/Traits/GeneratorTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
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
  *
Please login to merge, or discard this patch.
src/VfacTmdb/Interfaces/TmdbInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
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
  *
Please login to merge, or discard this patch.
src/VfacTmdb/Items/Movie.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
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
  *
Please login to merge, or discard this patch.
src/VfacTmdb/Items/MovieCredit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
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
  *
Please login to merge, or discard this patch.
src/VfacTmdb/Abstracts/Account.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
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
  *
Please login to merge, or discard this patch.
src/VfacTmdb/Account.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
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
  *
Please login to merge, or discard this patch.
src/VfacTmdb/Search.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
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
  *
Please login to merge, or discard this patch.
src/VfacTmdb/Tmdb.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -167,15 +167,15 @@
 block discarded – undo
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())) {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.