@@ -81,7 +81,7 @@ |
||
81 | 81 | } |
82 | 82 | |
83 | 83 | /** |
84 | - * @param null $categorySlug |
|
84 | + * @param string $categorySlug |
|
85 | 85 | * @return Query |
86 | 86 | */ |
87 | 87 | public function findPublishedByCategorySlugLimitedQuery($categorySlug = null) |
@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | } |
154 | 154 | |
155 | 155 | /** |
156 | - * @return mixed |
|
156 | + * @return Category |
|
157 | 157 | */ |
158 | 158 | public function getParent() |
159 | 159 | { |
@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | } |
173 | 173 | |
174 | 174 | /** |
175 | - * @return Tag[]|ArrayCollection |
|
175 | + * @return Category[] |
|
176 | 176 | */ |
177 | 177 | public function getChildren() |
178 | 178 | { |
@@ -18,7 +18,7 @@ |
||
18 | 18 | private $listener; |
19 | 19 | |
20 | 20 | /** |
21 | - * @param object $entity |
|
21 | + * @param Base\AbstractPost $entity |
|
22 | 22 | * @return array |
23 | 23 | */ |
24 | 24 | public function findTranslations($entity) |