@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | |
| 73 | 73 | public function getBackdrops() |
| 74 | 74 | { |
| 75 | - $data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), '/collection/'.(int) $this->id.'/images', null, $this->params); |
|
| 75 | + $data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), '/collection/' . (int) $this->id . '/images', null, $this->params); |
|
| 76 | 76 | |
| 77 | 77 | foreach ($data->backdrops as $b) |
| 78 | 78 | { |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | |
| 84 | 84 | public function getPosters() |
| 85 | 85 | { |
| 86 | - $data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), '/collection/'.(int) $this->id.'/images', null, $this->params); |
|
| 86 | + $data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), '/collection/' . (int) $this->id . '/images', null, $this->params); |
|
| 87 | 87 | |
| 88 | 88 | foreach ($data->posters as $b) |
| 89 | 89 | { |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | |
| 155 | 155 | public function getBackdrops() |
| 156 | 156 | { |
| 157 | - $data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), '/tv/'.(int) $this->id.'/images', null, $this->params); |
|
| 157 | + $data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), '/tv/' . (int) $this->id . '/images', null, $this->params); |
|
| 158 | 158 | |
| 159 | 159 | foreach ($data->backdrops as $b) |
| 160 | 160 | { |
@@ -165,7 +165,7 @@ discard block |
||
| 165 | 165 | |
| 166 | 166 | public function getPosters() |
| 167 | 167 | { |
| 168 | - $data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), '/tv/'.(int) $this->id.'/images', null, $this->params); |
|
| 168 | + $data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), '/tv/' . (int) $this->id . '/images', null, $this->params); |
|
| 169 | 169 | |
| 170 | 170 | foreach ($data->posters as $b) |
| 171 | 171 | { |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | */ |
| 20 | 20 | public function __construct(Tmdb $tmdb, $movie_id, array $options = array()) |
| 21 | 21 | { |
| 22 | - parent::__construct($tmdb, '/credits', $options, 'movie/'.$movie_id); |
|
| 22 | + parent::__construct($tmdb, '/credits', $options, 'movie/' . $movie_id); |
|
| 23 | 23 | } |
| 24 | 24 | |
| 25 | 25 | public function getCrew() |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | |
| 23 | 23 | public function __construct(Tmdb $tmdb, $tv_id, $season_number, $episode_number, array $options = array()) |
| 24 | 24 | { |
| 25 | - parent::__construct($tmdb, $episode_number, $options, 'tv/'.$tv_id.'/'.$season_number); |
|
| 25 | + parent::__construct($tmdb, $episode_number, $options, 'tv/' . $tv_id . '/' . $season_number); |
|
| 26 | 26 | |
| 27 | 27 | $this->season_number = $season_number; |
| 28 | 28 | $this->episode_number = $episode_number; |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | |
| 134 | 134 | public function getPosters() |
| 135 | 135 | { |
| 136 | - $data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), '/tv/'.(int) $this->id.'/seasons/'.$this->season_number.'/episode/'.$this->episode_number.'/images', null, $this->params); |
|
| 136 | + $data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), '/tv/' . (int) $this->id . '/seasons/' . $this->season_number . '/episode/' . $this->episode_number . '/images', null, $this->params); |
|
| 137 | 137 | |
| 138 | 138 | foreach ($data->posters as $b) |
| 139 | 139 | { |