@@ -56,9 +56,9 @@ discard block |
||
56 | 56 | * |
57 | 57 | * @param int $limit |
58 | 58 | * @param int $topCategoryId |
59 | - * @param array $topQuestions |
|
59 | + * @param integer[] $topQuestions |
|
60 | 60 | * |
61 | - * @return array|QueryResultInterface |
|
61 | + * @return integer |
|
62 | 62 | * @throws InvalidQueryException |
63 | 63 | */ |
64 | 64 | public function findTop($limit = 5, $topCategoryId = 0, $topQuestions = []) |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | * |
125 | 125 | * @throws InvalidQueryException |
126 | 126 | * |
127 | - * @return QueryResultInterface|array |
|
127 | + * @return integer |
|
128 | 128 | */ |
129 | 129 | public function findAll($topCategoryId = 0) |
130 | 130 | { |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * @param Faq $faq |
149 | 149 | * @param int $topCategoryId |
150 | 150 | * |
151 | - * @return array|QueryResultInterface |
|
151 | + * @return integer |
|
152 | 152 | * @throws InvalidQueryException |
153 | 153 | */ |
154 | 154 | public function findByFaq(Faq $faq, $topCategoryId = 0) |
@@ -193,8 +193,8 @@ discard block |
||
193 | 193 | /** |
194 | 194 | * Get the teaser questions. |
195 | 195 | * |
196 | - * @param array $topQuestions |
|
197 | - * @param array $categories |
|
196 | + * @param integer[] $topQuestions |
|
197 | + * @param integer[] $categories |
|
198 | 198 | * @param int $limit |
199 | 199 | * |
200 | 200 | * @return array |
@@ -178,7 +178,7 @@ |
||
178 | 178 | * |
179 | 179 | * @throws \Exception |
180 | 180 | * |
181 | - * @return int |
|
181 | + * @return boolean |
|
182 | 182 | */ |
183 | 183 | protected function sendMail() |
184 | 184 | { |