File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121use Tmdb \Model \Collection \Videos ;
2222use Tmdb \Model \Common \ExternalIds ;
2323use Tmdb \Model \Common \GenericCollection ;
24+ use Tmdb \Model \Common \SpokenLanguage ;
2425use Tmdb \Model \Image \BackdropImage ;
2526use Tmdb \Model \Image \PosterImage ;
2627use Tmdb \Model \Tv \Episode ;
@@ -162,7 +163,7 @@ class Tv extends AbstractModel
162163 */
163164 private $ inProduction ;
164165 /**
165- * @var array
166+ * @var GenericCollection|SpokenLanguage[]
166167 */
167168 private $ languages ;
168169 /**
@@ -256,6 +257,7 @@ public function __construct()
256257 $ this ->recommendations = new GenericCollection ();
257258 $ this ->contentRatings = new GenericCollection ();
258259 $ this ->alternativeTitles = new GenericCollection ();
260+ $ this ->languages = new GenericCollection ();
259261 }
260262
261263 /**
@@ -434,9 +436,9 @@ public function setInProduction($inProduction)
434436 }
435437
436438 /**
437- * @return array
439+ * @return GenericCollection
438440 */
439- public function getLanguages (): array
441+ public function getLanguages (): GenericCollection
440442 {
441443 return $ this ->languages ;
442444 }
You can’t perform that action at this time.
0 commit comments