Passed
Pull Request — master (#48)
by
unknown
12:04
created
src/VfacTmdb/Results/Change.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/Results/ChangeResultsInterface.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 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -382,7 +382,8 @@
 block discarded – undo
382 382
             if (isset($options[$optionName])) {
383 383
                 if ($this->checkOptionDate($options[$optionName])) {
384 384
                     $return[$optionName] = $options[$optionName];
385
-                } else {
385
+                }
386
+                else {
386 387
                     $this->logger->error('Incorrect date param option', array($optionName => $options[$optionName]));
387 388
                     throw new IncorrectParamException;
388 389
                 }
Please login to merge, or discard this patch.
src/VfacTmdb/Change.php 1 patch
Spacing   +2 added lines, -2 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
  * This file is part of the Tmdb package.
4 4
  *
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      */
85 85
     private function checkTypeChangesOptions(array $options) : array
86 86
     {
87
-        $params           = [];
87
+        $params = [];
88 88
         $this->tmdb->checkOptionPage($options, $params);
89 89
         $this->tmdb->checkOptionDateRange($options, $params);
90 90
 
Please login to merge, or discard this patch.
src/VfacTmdb/Results/ItemChange.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/Results/ItemChangeResultsInterface.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.