@@ -7,7 +7,6 @@ |
||
7 | 7 | * For the full copyright and license information, please view the LICENSE |
8 | 8 | * file that was distributed with this source code. |
9 | 9 | * |
10 | - |
|
11 | 10 | * @author Vincent Faliès <[email protected]> |
12 | 11 | * @copyright Copyright (c) 2017 |
13 | 12 | */ |
@@ -7,7 +7,6 @@ |
||
7 | 7 | * For the full copyright and license information, please view the LICENSE |
8 | 8 | * file that was distributed with this source code. |
9 | 9 | * |
10 | - |
|
11 | 10 | * @author Vincent Faliès <[email protected]> |
12 | 11 | * @copyright Copyright (c) 2017 |
13 | 12 | */ |
@@ -7,7 +7,6 @@ |
||
7 | 7 | * For the full copyright and license information, please view the LICENSE |
8 | 8 | * file that was distributed with this source code. |
9 | 9 | * |
10 | - |
|
11 | 10 | * @author Vincent Faliès <[email protected]> |
12 | 11 | * @copyright Copyright (c) 2017 |
13 | 12 | */ |
@@ -7,7 +7,6 @@ |
||
7 | 7 | * For the full copyright and license information, please view the LICENSE |
8 | 8 | * file that was distributed with this source code. |
9 | 9 | * |
10 | - |
|
11 | 10 | * @author Vincent Faliès <[email protected]> |
12 | 11 | * @copyright Copyright (c) 2017 |
13 | 12 | */ |
@@ -7,7 +7,6 @@ |
||
7 | 7 | * For the full copyright and license information, please view the LICENSE |
8 | 8 | * file that was distributed with this source code. |
9 | 9 | * |
10 | - |
|
11 | 10 | * @author Vincent Faliès <[email protected]> |
12 | 11 | * @copyright Copyright (c) 2017 |
13 | 12 | */ |
@@ -42,7 +42,7 @@ |
||
42 | 42 | */ |
43 | 43 | public function __construct(TmdbInterface $tmdb, $movie_id, array $options = array()) |
44 | 44 | { |
45 | - parent::__construct($tmdb, '/credits', $options, 'movie/'.$movie_id); |
|
45 | + parent::__construct($tmdb, '/credits', $options, 'movie/' . $movie_id); |
|
46 | 46 | } |
47 | 47 | |
48 | 48 | /** |
@@ -8,7 +8,6 @@ |
||
8 | 8 | * For the full copyright and license information, please view the LICENSE |
9 | 9 | * file that was distributed with this source code. |
10 | 10 | * |
11 | - |
|
12 | 11 | * @author Vincent Faliès <[email protected]> |
13 | 12 | * @copyright Copyright (c) 2017 |
14 | 13 | */ |
@@ -222,7 +222,7 @@ |
||
222 | 222 | */ |
223 | 223 | public function getProfiles() |
224 | 224 | { |
225 | - $data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), '/person/'.(int) $this->id.'/images', null, $this->params); |
|
225 | + $data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), '/person/' . (int) $this->id . '/images', null, $this->params); |
|
226 | 226 | |
227 | 227 | foreach ($data->profiles as $b) |
228 | 228 | { |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | */ |
58 | 58 | public function __construct(TmdbInterface $tmdb, $tv_id, $season_number, $episode_number, array $options = array()) |
59 | 59 | { |
60 | - parent::__construct($tmdb, $episode_number, $options, 'tv/'.$tv_id.'/'.$season_number); |
|
60 | + parent::__construct($tmdb, $episode_number, $options, 'tv/' . $tv_id . '/' . $season_number); |
|
61 | 61 | |
62 | 62 | $this->season_number = $season_number; |
63 | 63 | $this->episode_number = $episode_number; |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | */ |
219 | 219 | public function getPosters() |
220 | 220 | { |
221 | - $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); |
|
221 | + $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); |
|
222 | 222 | |
223 | 223 | foreach ($data->posters as $b) |
224 | 224 | { |
@@ -7,7 +7,6 @@ |
||
7 | 7 | * For the full copyright and license information, please view the LICENSE |
8 | 8 | * file that was distributed with this source code. |
9 | 9 | * |
10 | - |
|
11 | 10 | * @author Vincent Faliès <[email protected]> |
12 | 11 | * @copyright Copyright (c) 2017 |
13 | 12 | */ |
@@ -36,7 +36,7 @@ |
||
36 | 36 | */ |
37 | 37 | public function __construct(TmdbInterface $tmdb, $people_id, array $options = array()) |
38 | 38 | { |
39 | - parent::__construct($tmdb, '/tv_credits', $options, 'person/'.$people_id); |
|
39 | + parent::__construct($tmdb, '/tv_credits', $options, 'person/' . $people_id); |
|
40 | 40 | } |
41 | 41 | |
42 | 42 | /** |
@@ -7,7 +7,6 @@ |
||
7 | 7 | * For the full copyright and license information, please view the LICENSE |
8 | 8 | * file that was distributed with this source code. |
9 | 9 | * |
10 | - |
|
11 | 10 | * @author Vincent Faliès <[email protected]> |
12 | 11 | * @copyright Copyright (c) 2017 |
13 | 12 | */ |
@@ -36,7 +36,7 @@ |
||
36 | 36 | */ |
37 | 37 | public function __construct(TmdbInterface $tmdb, $people_id, array $options = array()) |
38 | 38 | { |
39 | - parent::__construct($tmdb, '/movie_credits', $options, 'person/'.$people_id); |
|
39 | + parent::__construct($tmdb, '/movie_credits', $options, 'person/' . $people_id); |
|
40 | 40 | } |
41 | 41 | |
42 | 42 | /** |