Skip to content

Commit

Permalink
anotations
Browse files Browse the repository at this point in the history
  • Loading branch information
Spamercz committed Oct 1, 2017
1 parent dc407d6 commit 3c0533e
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions src/IMDB/DTO/Movie.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ class Movie extends Dto
private $show;
/** @var int */
private $season;
/** @var int */
/** @var ?int */
private $episode;
/** @var array */
/** @var \MovieParser\IMDB\DTO\Person[] */
private $people;
/** @var array */
/** @var \MovieParser\IMDB\DTO\Release[] */
private $release;
/** @var array */
/** @var \MovieParser\IMDB\DTO\Alias[] */
private $alias;
/** @var array */
/** @var \MovieParser\IMDB\DTO\Credit[] */
private $credits;
/** @var array */
private $locations;
Expand Down Expand Up @@ -60,17 +60,17 @@ class Movie extends Dto
private $synopsis;
/** @var array */
private $keyWords;
/** @var array */
/** @var \MovieParser\IMDB\DTO\Trivia[] */
private $trivia;
/** @var array */
/** @var \MovieParser\IMDB\DTO\Goof[] */
private $goofs;
/** @var array */
/** @var \MovieParser\IMDB\DTO\CrazyCredit[] */
private $crazyCredits;
/** @var array */
/** @var \MovieParser\IMDB\DTO\Quote[] */
private $quotes;
/** @var array */
/** @var \MovieParser\IMDB\DTO\Connection[] */
private $connections;
/** @var array */
/** @var \MovieParser\IMDB\DTO\Image[] */
private $images;
/** @var array */
private $links;
Expand Down Expand Up @@ -297,7 +297,7 @@ public function setGenres($genres)


/**
* @return array
* @return \MovieParser\IMDB\DTO\Person[]
*/
public function getPeople()
{
Expand Down Expand Up @@ -603,7 +603,7 @@ public function setGoofs($goofs)


/**
* @return array
* @return \MovieParser\IMDB\DTO\CrazyCredit[]
*/
public function getCrazyCredits()
{
Expand Down Expand Up @@ -639,7 +639,7 @@ public function setQuotes($quotes)


/**
* @return array
* @return \MovieParser\IMDB\DTO\Connection[]
*/
public function getConnections()
{
Expand Down Expand Up @@ -675,7 +675,7 @@ public function setImages($images)


/**
* @return array
* @return \MovieParser\IMDB\DTO\Credit[]
*/
public function getCredits() : array
{
Expand Down Expand Up @@ -801,18 +801,18 @@ public function setSeason(int $season)


/**
* @return int
* @return ?int
*/
public function getEpisode() : int
public function getEpisode() : ?int
{
return $this->episode;
}


/**
* @param int $episode
* @param ?int $episode
*/
public function setEpisode(int $episode)
public function setEpisode(?int $episode)
{
$this->episode = $episode;
}
Expand Down

0 comments on commit 3c0533e

Please sign in to comment.