Completed
Push — master ( 4cc4cf...1e6e7e )
by Tim
13:02 queued 10s
created
Classes/View/Faq/User.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 /**
5 5
  * User.
6 6
  */
Please login to merge, or discard this patch.
Classes/View/Faq/Send.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 /**
5 5
  * Send.
6 6
  */
Please login to merge, or discard this patch.
Classes/View/MailView.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 /**
5 5
  * E-Mail View.
6 6
  *
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@
 block discarded – undo
178 178
      *
179 179
      * @throws \Exception
180 180
      *
181
-     * @return int
181
+     * @return boolean
182 182
      */
183 183
     protected function sendMail()
184 184
     {
Please login to merge, or discard this patch.
Classes/Domain/Model/Request/Faq.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 /**
5 5
  * Request Faq.
6 6
  */
Please login to merge, or discard this patch.
Classes/Domain/Repository/QuestionRepository.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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 = [
Please login to merge, or discard this patch.
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -56,9 +56,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
Classes/Domain/Repository/QuestionCategoryRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 /**
5 5
  * Build up the Question category.
6 6
  */
Please login to merge, or discard this patch.