| @@ -54,8 +54,7 @@ discard block | ||
| 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 | ||
| 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 | ||
| 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 | } | 
| @@ -36,8 +36,7 @@ | ||
| 36 | 36 | $this->conf = $this->tmdb->getConfiguration(); | 
| 37 | 37 | $this->params = $this->tmdb->checkOptions($options); | 
| 38 | 38 | $this->data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), $item_name.'/'.(int) $item_id, null, $this->params); | 
| 39 | - } | |
| 40 | - catch (TmdbException $ex) | |
| 39 | + } catch (TmdbException $ex) | |
| 41 | 40 |          { | 
| 42 | 41 | throw $ex; | 
| 43 | 42 | } |