@@ -1130,7 +1130,7 @@ |
||
1130 | 1130 | /** |
1131 | 1131 | * Returns a content part for a filename being build. |
1132 | 1132 | * |
1133 | - * @param array $data Data to store in part |
|
1133 | + * @param string $data Data to store in part |
|
1134 | 1134 | * @param bool $compress Compress file? |
1135 | 1135 | * @return string Content stream. |
1136 | 1136 | */ |
@@ -22,7 +22,6 @@ |
||
22 | 22 | /** |
23 | 23 | * Renders <f:then> child if $condition is true, otherwise renders <f:else> child. |
24 | 24 | * |
25 | - * @param bool $condition View helper condition |
|
26 | 25 | * @return string the rendered string |
27 | 26 | * @api |
28 | 27 | */ |
@@ -71,9 +71,9 @@ |
||
71 | 71 | $widgetViewConfiguration = array_merge_recursive($parentConfiguration, $rootConfiguration); |
72 | 72 | } else { |
73 | 73 | $widgetViewConfiguration = array_merge_recursive( |
74 | - (array) $rootConfiguration, |
|
75 | - (array) $parentConfiguration, |
|
76 | - (array) $extbaseFrameworkConfiguration['view']['widget'][$widgetViewHelperClassName] |
|
74 | + (array)$rootConfiguration, |
|
75 | + (array)$parentConfiguration, |
|
76 | + (array)$extbaseFrameworkConfiguration['view']['widget'][$widgetViewHelperClassName] |
|
77 | 77 | ); |
78 | 78 | } |
79 | 79 | $view->getTemplatePaths()->fillFromConfigurationArray($widgetViewConfiguration); |
@@ -448,7 +448,7 @@ |
||
448 | 448 | * @param array $arr Array which is modified with content. Reference |
449 | 449 | * @param string $content Current content string for the level |
450 | 450 | * @param string $depthData Prefixed icons for new PM icons |
451 | - * @param bool $first Set this for the first call from outside. |
|
451 | + * @param integer $first Set this for the first call from outside. |
|
452 | 452 | * @param string $vKey Seems to be the previous tsStackLog key |
453 | 453 | * @return string Returns the $content string generated/modified. Also the $arr array is modified! |
454 | 454 | */ |
@@ -871,7 +871,7 @@ |
||
871 | 871 | while (!feof($fh)) { |
872 | 872 | $line = fgets($fh, 4096); |
873 | 873 | // Has a lot of info |
874 | - list($char, $name, $cat, , , $decomp, , , $num, , , , $upper, $lower, $title, ) = explode(';', rtrim($line)); |
|
874 | + list($char, $name, $cat,,, $decomp,,, $num,,,, $upper, $lower, $title,) = explode(';', rtrim($line)); |
|
875 | 875 | $ord = hexdec($char); |
876 | 876 | if ($ord > 65535) { |
877 | 877 | // Only process the BMP |
@@ -420,7 +420,7 @@ discard block |
||
420 | 420 | * Gets all backend user records that are considered to be responsible |
421 | 421 | * for a particular stage or workspace. |
422 | 422 | * |
423 | - * @param StageRecord|int $stageRecord Stage |
|
423 | + * @param null|StageRecord $stageRecord Stage |
|
424 | 424 | * @param bool $selectDefaultUserField If field notification_defaults should be selected instead of responsible users |
425 | 425 | * @return array be_users with e-mail and name |
426 | 426 | */ |
@@ -549,7 +549,7 @@ discard block |
||
549 | 549 | } |
550 | 550 | |
551 | 551 | /** |
552 | - * @param $grList |
|
552 | + * @param string $grList |
|
553 | 553 | * @param string $idList |
554 | 554 | * @return array |
555 | 555 | */ |
@@ -228,7 +228,7 @@ |
||
228 | 228 | } |
229 | 229 | } |
230 | 230 | |
231 | - uasort($allowedStages, function (StageRecord $first, StageRecord $second) { |
|
231 | + uasort($allowedStages, function(StageRecord $first, StageRecord $second) { |
|
232 | 232 | return $first->determineOrder($second); |
233 | 233 | }); |
234 | 234 | return $this->prepareStagesArray($allowedStages); |
@@ -42,7 +42,7 @@ |
||
42 | 42 | // PHP 7.0 onward is delivered minimum OPcache 7.0.6-dev |
43 | 43 | 'canInvalidate' => true, |
44 | 44 | 'error' => false, |
45 | - 'clearCallback' => function ($fileAbsPath) { |
|
45 | + 'clearCallback' => function($fileAbsPath) { |
|
46 | 46 | if ($fileAbsPath !== null) { |
47 | 47 | opcache_invalidate($fileAbsPath); |
48 | 48 | } else { |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace TYPO3\CMS\Core\Crypto; |
4 | 4 | |
5 | 5 | /* |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | * Creates a merged CSS file |
209 | 209 | * |
210 | 210 | * @param array $filesToInclude Files which should be merged, paths relative to root path |
211 | - * @return mixed Filename of the merged file |
|
211 | + * @return string Filename of the merged file |
|
212 | 212 | */ |
213 | 213 | protected function createMergedCssFile(array $filesToInclude) |
214 | 214 | { |
@@ -219,7 +219,7 @@ discard block |
||
219 | 219 | * Creates a merged JS file |
220 | 220 | * |
221 | 221 | * @param array $filesToInclude Files which should be merged, paths relative to root path |
222 | - * @return mixed Filename of the merged file |
|
222 | + * @return string Filename of the merged file |
|
223 | 223 | */ |
224 | 224 | protected function createMergedJsFile(array $filesToInclude) |
225 | 225 | { |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | * @param string $type File type |
234 | 234 | * |
235 | 235 | * @throws \InvalidArgumentException |
236 | - * @return mixed Filename of the merged file |
|
236 | + * @return string Filename of the merged file |
|
237 | 237 | */ |
238 | 238 | protected function createMergedFile(array $filesToInclude, $type = 'css') |
239 | 239 | { |
@@ -448,7 +448,7 @@ discard block |
||
448 | 448 | * Decides whether a file comes from one of the baseDirectories |
449 | 449 | * |
450 | 450 | * @param string $filename Filename |
451 | - * @param array $baseDirectories Base directories |
|
451 | + * @param string[] $baseDirectories Base directories |
|
452 | 452 | * @return bool File belongs to a base directory or not |
453 | 453 | */ |
454 | 454 | protected function checkBaseDirectory($filename, array $baseDirectories) |