Passed
Branch account (1cb1c3)
by vincent
02:52
created
src/VfacTmdb/Items/MovieCredit.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 
48 48
     /**
49 49
      * Crew
50
-     * @return \Generator|Results\Crew
50
+     * @return \Generator
51 51
      */
52 52
     public function getCrew() : \Generator
53 53
     {
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 
62 62
     /**
63 63
      * Cast
64
-     * @return \Generator|Results\Cast
64
+     * @return \Generator
65 65
      */
66 66
     public function getCast() : \Generator
67 67
     {
Please login to merge, or discard this patch.
src/VfacTmdb/Abstracts/Item.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,8 @@
 block discarded – undo
74 74
             $this->tmdb->checkOptionLanguage($options, $this->params);
75 75
 
76 76
             $this->data   = $this->tmdb->getRequest($item_name . '/' . (int) $item_id, $this->params);
77
-        } catch (TmdbException $ex) {
77
+        }
78
+        catch (TmdbException $ex) {
78 79
             throw $ex;
79 80
         }
80 81
     }
Please login to merge, or discard this patch.
src/VfacTmdb/Abstracts/Items/PeopleItemCredit.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,8 @@
 block discarded – undo
53 53
             $this->tmdb->checkOptionLanguage($options, $this->params);
54 54
 
55 55
             $this->data   = $this->tmdb->getRequest('person/' . $item_id . '/' . $item_type . '_credits', $this->params);
56
-        } catch (TmdbException $ex) {
56
+        }
57
+        catch (TmdbException $ex) {
57 58
             throw $ex;
58 59
         }
59 60
     }
Please login to merge, or discard this patch.
src/VfacTmdb/Tmdb.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -180,7 +180,8 @@  discard block
 block discarded – undo
180 180
             }
181 181
             $response = $this->decodeRequest($res, $method, $url, $form_params);
182 182
             return $response;
183
-        } catch (TmdbException $e) {
183
+        }
184
+        catch (TmdbException $e) {
184 185
             $this->logger->error('sendRequest failed : '.$e->getMessage(), array('method' => $method, 'url' => $url, 'form_params' => $form_params));
185 186
             throw $e;
186 187
         }
@@ -245,7 +246,8 @@  discard block
 block discarded – undo
245 246
                 $this->configuration = $this->getRequest('configuration');
246 247
             }
247 248
             return $this->configuration;
248
-        } catch (TmdbException $ex) {
249
+        }
250
+        catch (TmdbException $ex) {
249 251
             throw $ex;
250 252
         }
251 253
     }
Please login to merge, or discard this patch.