@@ -12,6 +12,9 @@ |
||
| 12 | 12 | private $totalCount; |
| 13 | 13 | private $movies; |
| 14 | 14 | |
| 15 | + /** |
|
| 16 | + * @param integer $totalCount |
|
| 17 | + */ |
|
| 15 | 18 | public function __construct(array $movies, $totalCount, int $offset = 0) |
| 16 | 19 | { |
| 17 | 20 | $this->totalCount = abs($totalCount); |
@@ -99,7 +99,7 @@ |
||
| 99 | 99 | |
| 100 | 100 | /** |
| 101 | 101 | * @param int $id |
| 102 | - * @return null|Genre |
|
| 102 | + * @return Genre |
|
| 103 | 103 | * @throws \Doctrine\ORM\ORMException |
| 104 | 104 | */ |
| 105 | 105 | private function getGenreReference(int $id): ?object |