@@ -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 | { |