@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | /** |
5 | 5 | * SessionService.php. |
6 | 6 | */ |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | /** |
5 | 5 | * User. |
6 | 6 | */ |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | /** |
5 | 5 | * Send. |
6 | 6 | */ |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | /** |
5 | 5 | * E-Mail View. |
6 | 6 | * |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | /** |
5 | 5 | * Request Faq. |
6 | 6 | */ |
@@ -1,6 +1,6 @@ discard block |
||
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 | */ |
@@ -37,8 +37,8 @@ discard block |
||
37 | 37 | { |
38 | 38 | parent::__construct($objectManager); |
39 | 39 | |
40 | - $configuration = (array) @\unserialize((string) $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['faq']); |
|
41 | - $enableManuallySorting = isset($configuration['enableManuallySorting']) ? (bool) $configuration['enableManuallySorting'] : false; |
|
40 | + $configuration = (array)@\unserialize((string)$GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['faq']); |
|
41 | + $enableManuallySorting = isset($configuration['enableManuallySorting']) ? (bool)$configuration['enableManuallySorting'] : false; |
|
42 | 42 | |
43 | 43 | if ($enableManuallySorting) { |
44 | 44 | $this->defaultOrderings = [ |
@@ -53,9 +53,9 @@ 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 | - * @return array|\TYPO3\CMS\Extbase\Persistence\QueryResultInterface |
|
58 | + * @return integer |
|
59 | 59 | */ |
60 | 60 | public function findTop($limit = 5, $topCategoryId = 0, $topQuestions = []) |
61 | 61 | { |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | * |
121 | 121 | * @throws \TYPO3\CMS\Extbase\Persistence\Exception\InvalidQueryException |
122 | 122 | * |
123 | - * @return \TYPO3\CMS\Extbase\Persistence\QueryResultInterface|array |
|
123 | + * @return integer |
|
124 | 124 | */ |
125 | 125 | public function findAll($topCategoryId = 0) |
126 | 126 | { |
@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | * |
146 | 146 | * @throws \TYPO3\CMS\Extbase\Persistence\Exception\InvalidQueryException |
147 | 147 | * |
148 | - * @return array|\TYPO3\CMS\Extbase\Persistence\QueryResultInterface |
|
148 | + * @return integer |
|
149 | 149 | */ |
150 | 150 | public function findByFaq(Faq $faq, $topCategoryId = 0) |
151 | 151 | { |