@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | |
165 | 165 | public function getProductionCompanies() |
166 | 166 | { |
167 | - if ( ! empty($this->data->production_companies)) |
|
167 | + if (!empty($this->data->production_companies)) |
|
168 | 168 | { |
169 | 169 | foreach ($this->data->production_companies as $p) |
170 | 170 | { |
@@ -179,7 +179,7 @@ discard block |
||
179 | 179 | |
180 | 180 | public function getProductionCountries() |
181 | 181 | { |
182 | - if ( ! empty($this->data->production_countries)) |
|
182 | + if (!empty($this->data->production_countries)) |
|
183 | 183 | { |
184 | 184 | foreach ($this->data->production_countries as $c) |
185 | 185 | { |
@@ -73,7 +73,7 @@ |
||
73 | 73 | |
74 | 74 | public function getMovies() |
75 | 75 | { |
76 | - $data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), '/company/'.(int) $this->id.'/movies', null, $this->params); |
|
76 | + $data = $this->tmdb->sendRequest(new HttpClient(new \GuzzleHttp\Client()), '/company/' . (int) $this->id . '/movies', null, $this->params); |
|
77 | 77 | |
78 | 78 | foreach ($data->results as $m) |
79 | 79 | { |
@@ -40,7 +40,7 @@ |
||
40 | 40 | |
41 | 41 | public function getCrew() |
42 | 42 | { |
43 | - if (! empty($this->data->crew)) { |
|
43 | + if (!empty($this->data->crew)) { |
|
44 | 44 | foreach ($this->data->crew as $crew) { |
45 | 45 | $crew->gender = null; |
46 | 46 |
@@ -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() |