Passed
Branch account (e3661f)
by vincent
02:30
created
src/VfacTmdb/Account/Favorite.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,8 @@
 block discarded – undo
65 65
             $this->tmdb->postRequest('account/'.$this->account_id.'/favorite', $this->options, $params);
66 66
 
67 67
             return $this;
68
-        } catch (TmdbException $e) {
68
+        }
69
+        catch (TmdbException $e) {
69 70
             throw $e;
70 71
         }
71 72
     }
Please login to merge, or discard this patch.
src/VfacTmdb/Account/WatchList.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,8 @@
 block discarded – undo
77 77
             $this->tmdb->postRequest('account/'.$this->account_id.'/watchlist', $this->options, $params);
78 78
 
79 79
             return $this;
80
-        } catch (TmdbException $e) {
80
+        }
81
+        catch (TmdbException $e) {
81 82
             throw $e;
82 83
         }
83 84
     }
Please login to merge, or discard this patch.
src/VfacTmdb/Account/Rated.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -156,7 +156,8 @@  discard block
 block discarded – undo
156 156
             $this->tmdb->postRequest($action, $this->options, $params);
157 157
 
158 158
             return $this;
159
-        } catch (TmdbException $e) {
159
+        }
160
+        catch (TmdbException $e) {
160 161
             throw $e;
161 162
         }
162 163
     }
@@ -172,7 +173,8 @@  discard block
 block discarded – undo
172 173
             $this->tmdb->deleteRequest($action, $this->options);
173 174
 
174 175
             return $this;
175
-        } catch (TmdbException $e) {
176
+        }
177
+        catch (TmdbException $e) {
176 178
             throw $e;
177 179
         }
178 180
     }
Please login to merge, or discard this patch.
src/VfacTmdb/Catalogs/Genres.php 1 patch
Braces   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,7 +53,8 @@  discard block
 block discarded – undo
53 53
     {
54 54
         try {
55 55
             return $this->getList('genre/movie/list', $options);
56
-        } catch (TmdbException $ex) {
56
+        }
57
+        catch (TmdbException $ex) {
57 58
             throw $ex;
58 59
         }
59 60
     }
@@ -68,7 +69,8 @@  discard block
 block discarded – undo
68 69
     {
69 70
         try {
70 71
             return $this->getList('genre/tv/list', $options);
71
-        } catch (TmdbException $ex) {
72
+        }
73
+        catch (TmdbException $ex) {
72 74
             throw $ex;
73 75
         }
74 76
     }
@@ -92,7 +94,8 @@  discard block
 block discarded – undo
92 94
             }
93 95
 
94 96
             return $this->genreItemGenerator($genres);
95
-        } catch (TmdbException $ex) {
97
+        }
98
+        catch (TmdbException $ex) {
96 99
             throw $ex;
97 100
         }
98 101
     }
Please login to merge, or discard this patch.
src/VfacTmdb/Catalogs/Jobs.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,8 @@
 block discarded – undo
64 64
                     $results[] = $result;
65 65
                 }
66 66
             }
67
-        } catch (TmdbException $ex) {
67
+        }
68
+        catch (TmdbException $ex) {
68 69
             throw $ex;
69 70
         }
70 71
         return $this->genreItemGenerator($results);
Please login to merge, or discard this patch.
src/VfacTmdb/Items/PeopleTVShowCredit.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,8 @@
 block discarded – undo
42 42
             $this->logger = $tmdb->getLogger();
43 43
             $this->params = $this->tmdb->checkOptions($options);
44 44
             $this->data   = $this->tmdb->getRequest('person/' . $people_id.'/tv_credits', $this->params);
45
-        } catch (TmdbException $ex) {
45
+        }
46
+        catch (TmdbException $ex) {
46 47
             throw $ex;
47 48
         }
48 49
     }
Please login to merge, or discard this patch.
src/VfacTmdb/Items/PeopleMovieCredit.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,8 @@
 block discarded – undo
42 42
             $this->logger = $tmdb->getLogger();
43 43
             $this->params = $this->tmdb->checkOptions($options);
44 44
             $this->data   = $this->tmdb->getRequest('person/' . $people_id.'/movie_credits', $this->params);
45
-        } catch (TmdbException $ex) {
45
+        }
46
+        catch (TmdbException $ex) {
46 47
             throw $ex;
47 48
         }
48 49
     }
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
@@ -73,7 +73,8 @@
 block discarded – undo
73 73
             $this->conf   = $this->tmdb->getConfiguration();
74 74
             $this->params = $this->tmdb->checkOptions($options);
75 75
             $this->data   = $this->tmdb->getRequest($item_name . '/' . (int) $item_id, $this->params);
76
-        } catch (TmdbException $ex) {
76
+        }
77
+        catch (TmdbException $ex) {
77 78
             throw $ex;
78 79
         }
79 80
     }
Please login to merge, or discard this patch.
src/VfacTmdb/Search.php 1 patch
Braces   +12 added lines, -6 removed lines patch added patch discarded remove patch
@@ -79,7 +79,8 @@  discard block
 block discarded – undo
79 79
             $this->total_results = (int) $response->total_results;
80 80
 
81 81
             return $this->searchItemGenerator($response->results, $result_class);
82
-        } catch (TmdbException $ex) {
82
+        }
83
+        catch (TmdbException $ex) {
83 84
             throw $ex;
84 85
         }
85 86
     }
@@ -96,7 +97,8 @@  discard block
 block discarded – undo
96 97
         try {
97 98
             $this->logger->debug('Starting search movie', array('query' => $query, 'options' => $options));
98 99
             return $this->searchItem('movie', $query, $options, Results\Movie::class);
99
-        } catch (TmdbException $ex) {
100
+        }
101
+        catch (TmdbException $ex) {
100 102
             throw $ex;
101 103
         }
102 104
     }
@@ -113,7 +115,8 @@  discard block
 block discarded – undo
113 115
         try {
114 116
             $this->logger->debug('Starting search tv show', array('query' => $query, 'options' => $options));
115 117
             return $this->searchItem('tv', $query, $options, Results\TVShow::class);
116
-        } catch (TmdbException $ex) {
118
+        }
119
+        catch (TmdbException $ex) {
117 120
             throw $ex;
118 121
         }
119 122
     }
@@ -130,7 +133,8 @@  discard block
 block discarded – undo
130 133
         try {
131 134
             $this->logger->debug('Starting search collection', array('query' => $query, 'options' => $options));
132 135
             return $this->searchItem('collection', $query, $options, Results\Collection::class);
133
-        } catch (TmdbException $ex) {
136
+        }
137
+        catch (TmdbException $ex) {
134 138
             throw $ex;
135 139
         }
136 140
     }
@@ -147,7 +151,8 @@  discard block
 block discarded – undo
147 151
         try {
148 152
             $this->logger->debug('Starting search people', array('query' => $query, 'options' => $options));
149 153
             return $this->searchItem('person', $query, $options, Results\People::class);
150
-        } catch (TmdbException $ex) {
154
+        }
155
+        catch (TmdbException $ex) {
151 156
             throw $ex;
152 157
         }
153 158
     }
@@ -164,7 +169,8 @@  discard block
 block discarded – undo
164 169
         try {
165 170
             $this->logger->debug('Starting search company', array('query' => $query, 'options' => $options));
166 171
             return $this->searchItem('company', $query, $options, Results\Company::class);
167
-        } catch (TmdbException $ex) {
172
+        }
173
+        catch (TmdbException $ex) {
168 174
             throw $ex;
169 175
         }
170 176
     }
Please login to merge, or discard this patch.