@@ -12,6 +12,9 @@ |
||
12 | 12 | private $limit = 30; |
13 | 13 | private $paginator; |
14 | 14 | |
15 | + /** |
|
16 | + * @param integer|null $limit |
|
17 | + */ |
|
15 | 18 | public function __construct(Query $query, int $offset = 0, ?int $limit, bool $fetchJoinCollection = true) |
16 | 19 | { |
17 | 20 | $this->offset = abs($offset); |
@@ -83,7 +83,7 @@ |
||
83 | 83 | |
84 | 84 | /** |
85 | 85 | * @param int $id |
86 | - * @return null|object |
|
86 | + * @return Genre |
|
87 | 87 | * @throws \Doctrine\ORM\ORMException |
88 | 88 | */ |
89 | 89 | private function getGenreReference(int $id) |