Passed
Push — master ( ddfb88...ea9ad4 )
by vincent
41s
created
src/Search.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@  discard block
 block discarded – undo
54 54
             $this->total_results = (int) $response->total_results;
55 55
 
56 56
             return $this->searchItemGenerator($response->results, $result_class);
57
-        }
58
-        catch (TmdbException $ex)
57
+        } catch (TmdbException $ex)
59 58
         {
60 59
             throw $ex;
61 60
         }
@@ -144,8 +143,7 @@  discard block
 block discarded – undo
144 143
         {
145 144
             $this->logger->debug('Starting search people');
146 145
             return $this->searchItem('people', $query, $options, Results\People::class);           
147
-        }
148
-        catch (TmdbException $ex)
146
+        } catch (TmdbException $ex)
149 147
         {
150 148
             throw $ex;
151 149
         }
@@ -164,8 +162,7 @@  discard block
 block discarded – undo
164 162
         {
165 163
             $this->logger->debug('Starting search company');
166 164
             return $this->searchItem('people', $query, $options, Results\Company::class);
167
-        }
168
-        catch (TmdbException $ex)
165
+        } catch (TmdbException $ex)
169 166
         {
170 167
             throw $ex;
171 168
         }
Please login to merge, or discard this patch.
src/Abstracts/Item.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,8 +36,7 @@
 block discarded – undo
36 36
             $this->conf   = $this->tmdb->getConfiguration();
37 37
             $params       = $this->tmdb->checkOptions($options);
38 38
             $this->data   = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), $item_name.'/'.(int) $item_id, null, $params);
39
-        }
40
-        catch (TmdbException $ex)
39
+        } catch (TmdbException $ex)
41 40
         {
42 41
             throw $ex;
43 42
         }
Please login to merge, or discard this patch.