@@ -104,7 +104,7 @@ |
||
104 | 104 | |
105 | 105 | /** |
106 | 106 | * Guests stars |
107 | - * @return \Generator|Results\Cast |
|
107 | + * @return \Generator |
|
108 | 108 | */ |
109 | 109 | public function getGuestStars() : \Generator |
110 | 110 | { |
@@ -108,7 +108,7 @@ |
||
108 | 108 | |
109 | 109 | /** |
110 | 110 | * Episodes list |
111 | - * @return \Generator|Results\TVEpisode |
|
111 | + * @return \Generator |
|
112 | 112 | */ |
113 | 113 | public function getEpisodes() : \Generator |
114 | 114 | { |
@@ -26,17 +26,17 @@ |
||
26 | 26 | * @author Vincent Faliès <[email protected]> |
27 | 27 | * @copyright Copyright (c) 2017 |
28 | 28 | */ |
29 | - class PeopleTVShowCredit extends PeopleItemCredit |
|
30 | - { |
|
31 | - public function __construct(TmdbInterface $tmdb, int $people_id, array $options = array()) |
|
32 | - { |
|
33 | - try { |
|
34 | - $this->crew_class = PeopleTVShowCrew::class; |
|
35 | - $this->cast_class = PeopleTVShowCast::class; |
|
29 | + class PeopleTVShowCredit extends PeopleItemCredit |
|
30 | + { |
|
31 | + public function __construct(TmdbInterface $tmdb, int $people_id, array $options = array()) |
|
32 | + { |
|
33 | + try { |
|
34 | + $this->crew_class = PeopleTVShowCrew::class; |
|
35 | + $this->cast_class = PeopleTVShowCast::class; |
|
36 | 36 | |
37 | - parent::__construct($tmdb, 'tv', $people_id, $options); |
|
38 | - } catch (TmdbException $ex) { |
|
39 | - throw $ex; |
|
40 | - } |
|
41 | - } |
|
42 | - } |
|
37 | + parent::__construct($tmdb, 'tv', $people_id, $options); |
|
38 | + } catch (TmdbException $ex) { |
|
39 | + throw $ex; |
|
40 | + } |
|
41 | + } |
|
42 | + } |