@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | /** |
| 5 | 5 | * Build up the Question. |
| 6 | 6 | */ |
@@ -53,11 +53,11 @@ discard block |
||
| 53 | 53 | * |
| 54 | 54 | * @param int $limit |
| 55 | 55 | * @param int $topCategoryId |
| 56 | - * @param array $topQuestions |
|
| 56 | + * @param integer[] $topQuestions |
|
| 57 | 57 | * |
| 58 | 58 | * @throws InvalidQueryException |
| 59 | 59 | * |
| 60 | - * @return array|QueryResultInterface |
|
| 60 | + * @return integer |
|
| 61 | 61 | */ |
| 62 | 62 | public function findTop($limit = 5, $topCategoryId = 0, $topQuestions = []) |
| 63 | 63 | { |
@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | * |
| 123 | 123 | * @throws InvalidQueryException |
| 124 | 124 | * |
| 125 | - * @return QueryResultInterface|array |
|
| 125 | + * @return integer |
|
| 126 | 126 | */ |
| 127 | 127 | public function findAll($topCategoryId = 0) |
| 128 | 128 | { |
@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | * |
| 148 | 148 | * @throws InvalidQueryException |
| 149 | 149 | * |
| 150 | - * @return array|QueryResultInterface |
|
| 150 | + * @return integer |
|
| 151 | 151 | */ |
| 152 | 152 | public function findByFaq(Faq $faq, $topCategoryId = 0) |
| 153 | 153 | { |