Passed
Pull Request — master (#7)
by vincent
02:37
created
src/Items/Item.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
             $this->tmdb = $tmdb;
21 21
             $this->conf = $this->tmdb->getConfiguration();
22 22
             $params     = $this->tmdb->checkOptions($options);
23
-            $this->data = $this->tmdb->sendRequest(new \vfalies\tmdb\CurlRequest(), $item_name . '/'.(int) $item_id, null, $params);
23
+            $this->data = $this->tmdb->sendRequest(new \vfalies\tmdb\CurlRequest(), $item_name . '/' . (int) $item_id, null, $params);
24 24
         }
25 25
         catch (\Exception $ex)
26 26
         {
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,8 +21,7 @@
 block discarded – undo
21 21
             $this->conf = $this->tmdb->getConfiguration();
22 22
             $params     = $this->tmdb->checkOptions($options);
23 23
             $this->data = $this->tmdb->sendRequest(new \vfalies\tmdb\CurlRequest(), $item_name . '/'.(int) $item_id, null, $params);
24
-        }
25
-        catch (\Exception $ex)
24
+        } catch (\Exception $ex)
26 25
         {
27 26
             throw new \Exception($ex->getMessage(), $ex->getCode(), $ex);
28 27
         }
Please login to merge, or discard this patch.