Test Failed
Branch master (e0e8ab)
by Tymoteusz
23:10
created
typo3/sysext/core/Classes/TypoScript/Parser/TypoScriptParser.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -723,7 +723,7 @@
 block discarded – undo
723 723
      * stripped from the key.
724 724
      *
725 725
      * @param string $key The key, possibly consisting of multiple key segments separated by unescaped dots
726
-     * @return array Array with key segment and remaining part of $key
726
+     * @return string[] Array with key segment and remaining part of $key
727 727
      */
728 728
     protected function parseNextKeySegment($key)
729 729
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -365,7 +365,7 @@  discard block
 block discarded – undo
365 365
                         // Find object name string until we meet an operator
366 366
                         $varL = strcspn($line, TAB . ' {=<>(');
367 367
                         // check for special ":=" operator
368
-                        if ($varL > 0 && substr($line, $varL-1, 2) === ':=') {
368
+                        if ($varL > 0 && substr($line, $varL - 1, 2) === ':=') {
369 369
                             --$varL;
370 370
                         }
371 371
                         // also remove tabs after the object string name
@@ -877,7 +877,7 @@  discard block
 block discarded – undo
877 877
                     $filePointerPathParts = explode('/', substr($filename, 4));
878 878
 
879 879
                     // remove file part, determine whether to load setup or constants
880
-                    list($includeType, ) = explode('.', array_pop($filePointerPathParts));
880
+                    list($includeType,) = explode('.', array_pop($filePointerPathParts));
881 881
 
882 882
                     if (in_array($includeType, ['setup', 'constants'])) {
883 883
                         // adapt extension key to required format (no underscores)
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Utility/MathUtility.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@
 block discarded – undo
164 164
      * Calculates the input with parenthesis levels
165 165
      *
166 166
      * @param string $string Input string, eg "(123 + 456) / 789 - 4
167
-     * @return int Calculated value. Or error string.
167
+     * @return string Calculated value. Or error string.
168 168
      * @see calculateWithPriorityToAdditionAndSubtraction(), \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::stdWrap()
169 169
      */
170 170
     public static function calculateWithParentheses($string)
Please login to merge, or discard this patch.
typo3/sysext/documentation/Classes/Utility/MiscUtility.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      * Returns meta-data for a given extension.
26 26
      *
27 27
      * @param string $extensionKey
28
-     * @return array
28
+     * @return string
29 29
      */
30 30
     public static function getExtensionMetaData($extensionKey)
31 31
     {
Please login to merge, or discard this patch.
typo3/sysext/extbase/Classes/Configuration/AbstractConfigurationManager.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -226,7 +226,7 @@
 block discarded – undo
226 226
     /**
227 227
      * Returns the default backend storage pid
228 228
      *
229
-     * @return string
229
+     * @return integer
230 230
      */
231 231
     public function getDefaultBackendStoragePid()
232 232
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -192,7 +192,7 @@
 block discarded – undo
192 192
                 // All implementations of getTreeList allow to pass the ids negative to include them into the result
193 193
                 // otherwise only childpages are returned
194 194
                 $storagePids = \TYPO3\CMS\Core\Utility\GeneralUtility::intExplode(',', $frameworkConfiguration['persistence']['storagePid']);
195
-                array_walk($storagePids, function (&$storagePid) {
195
+                array_walk($storagePids, function(&$storagePid) {
196 196
                     if ($storagePid > 0) {
197 197
                         $storagePid = -$storagePid;
198 198
                     }
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -174,10 +174,10 @@
 block discarded – undo
174 174
         if (!empty($frameworkConfiguration['persistence']['storagePid'])) {
175 175
             if (is_array($frameworkConfiguration['persistence']['storagePid'])) {
176 176
                 /**
177
-                    * We simulate the frontend to enable the use of cObjects in
178
-                    * stdWrap. Than we convert the configuration to normal TypoScript
179
-                    * and apply the stdWrap to the storagePid
180
-                    */
177
+                 * We simulate the frontend to enable the use of cObjects in
178
+                 * stdWrap. Than we convert the configuration to normal TypoScript
179
+                 * and apply the stdWrap to the storagePid
180
+                 */
181 181
                 if (!$this->environmentService->isEnvironmentInFrontendMode()) {
182 182
                     \TYPO3\CMS\Extbase\Utility\FrontendSimulatorUtility::simulateFrontendEnvironment($this->getContentObject());
183 183
                 }
Please login to merge, or discard this patch.
typo3/sysext/extbase/Classes/Configuration/BackendConfigurationManager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     /**
49 49
      * Returns TypoScript Setup array from current Environment.
50 50
      *
51
-     * @return array the raw TypoScript setup
51
+     * @return string the raw TypoScript setup
52 52
      */
53 53
     public function getTypoScriptSetup()
54 54
     {
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
     /**
190 190
      * Returns the default backend storage pid
191 191
      *
192
-     * @return string
192
+     * @return integer
193 193
      */
194 194
     public function getDefaultBackendStoragePid()
195 195
     {
Please login to merge, or discard this patch.
typo3/sysext/extbase/Classes/DomainObject/AbstractDomainObject.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
      * Reconstitutes a property. Only for internal use.
121 121
      *
122 122
      * @param string $propertyName
123
-     * @param mixed $propertyValue
123
+     * @param integer $propertyValue
124 124
      * @return bool
125 125
      */
126 126
     public function _setProperty($propertyName, $propertyValue)
Please login to merge, or discard this patch.
typo3/sysext/extbase/Classes/Mvc/Cli/CommandArgumentDefinition.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
     }
80 80
 
81 81
     /**
82
-     * @return string
82
+     * @return boolean
83 83
      */
84 84
     public function isRequired()
85 85
     {
Please login to merge, or discard this patch.
typo3/sysext/extbase/Classes/Mvc/Controller/AbstractController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -333,7 +333,7 @@
 block discarded – undo
333 333
      *
334 334
      * NOTE: This method only supports web requests and will thrown an exception if used with other request types.
335 335
      *
336
-     * @param mixed $uri A string representation of a URI
336
+     * @param string $uri A string representation of a URI
337 337
      * @param int $delay (optional) The delay in seconds. Default is no delay.
338 338
      * @param int $statusCode (optional) The HTTP status code for the redirect. Default is "303 See Other
339 339
      * @throws UnsupportedRequestTypeException If the request is not a web request
Please login to merge, or discard this patch.
typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -444,7 +444,7 @@
 block discarded – undo
444 444
     /**
445 445
      * Determines the fully qualified view object name.
446 446
      *
447
-     * @return mixed The fully qualified view object name or FALSE if no matching view could be found.
447
+     * @return string The fully qualified view object name or FALSE if no matching view could be found.
448 448
      * @api
449 449
      */
450 450
     protected function resolveViewObjectName()
Please login to merge, or discard this patch.