@@ -20,7 +20,7 @@ |
||
| 20 | 20 | $this->tmdb = $tmdb; |
| 21 | 21 | $this->conf = $this->tmdb->getConfiguration(); |
| 22 | 22 | $params = $this->tmdb->checkOptions($options); |
| 23 | - $this->data = $this->tmdb->sendRequest(new \vfalies\tmdb\CurlRequest(), $item_name . '/'.(int) $item_id, null, $params); |
|
| 23 | + $this->data = $this->tmdb->sendRequest(new \vfalies\tmdb\CurlRequest(), $item_name . '/' . (int) $item_id, null, $params); |
|
| 24 | 24 | } |
| 25 | 25 | catch (\Exception $ex) |
| 26 | 26 | { |
@@ -21,8 +21,7 @@ |
||
| 21 | 21 | $this->conf = $this->tmdb->getConfiguration(); |
| 22 | 22 | $params = $this->tmdb->checkOptions($options); |
| 23 | 23 | $this->data = $this->tmdb->sendRequest(new \vfalies\tmdb\CurlRequest(), $item_name . '/'.(int) $item_id, null, $params); |
| 24 | - } |
|
| 25 | - catch (\Exception $ex) |
|
| 24 | + } catch (\Exception $ex) |
|
| 26 | 25 | { |
| 27 | 26 | throw new \Exception($ex->getMessage(), $ex->getCode(), $ex); |
| 28 | 27 | } |