Passed
Push — master ( 89f3f2...2d8591 )
by vincent
39s
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.