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