Passed
Push — master ( d37a32...6985b0 )
by vincent
39s
created
src/Abstracts/Item.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,8 +30,7 @@
 block discarded – undo
30 30
             $this->conf = $this->tmdb->getConfiguration();
31 31
             $params     = $this->tmdb->checkOptions($options);
32 32
             $this->data = $this->tmdb->sendRequest(new CurlRequest(), $item_name . '/' . (int) $item_id, null, $params);
33
-        }
34
-        catch (\Exception $ex)
33
+        } catch (\Exception $ex)
35 34
         {
36 35
             throw new \Exception($ex->getMessage(), $ex->getCode(), $ex);
37 36
         }
Please login to merge, or discard this patch.
src/Abstracts/Results.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
         $properties = get_object_vars($this);
25 25
         foreach (array_keys($properties) as $property)
26 26
         {
27
-            if ( ! in_array($property, $this->property_blacklist) && !property_exists($result, $property))
27
+            if (!in_array($property, $this->property_blacklist) && !property_exists($result, $property))
28 28
             {
29 29
                 throw new \Exception('Incorrect input for ' . __CLASS__ . ' object. Property "' . $property . '" not found');
30 30
             }
Please login to merge, or discard this patch.