Completed
Pull Request — master (#580)
by Pascale
02:22
created
Classes/Service/ContentElementLayoutService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      * Add one row to the table.
40 40
      *
41 41
      * @param string $label
42
-     * @param mixed  $value
42
+     * @param string  $value
43 43
      */
44 44
     public function addRow($label, $value)
45 45
     {
Please login to merge, or discard this patch.
Classes/Controller/AbstractController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
      * Send the content type header and the right file extension in front of the content.
110 110
      *
111 111
      * @param $contentType
112
-     * @param $fileExtension
112
+     * @param string $fileExtension
113 113
      */
114 114
     protected function sendHeaderAndFilename($contentType, $fileExtension)
115 115
     {
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
     /**
225 225
      * Add cache tags.
226 226
      *
227
-     * @param array $tags
227
+     * @param string[] $tags
228 228
      */
229 229
     protected function addCacheTags(array $tags)
230 230
     {
Please login to merge, or discard this patch.
Classes/Service/Ical/DissectICalService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
         }
24 24
         $events = $parser->getEvents();
25 25
 
26
-        $wrapEvents = function (ICalEvent $event) {
26
+        $wrapEvents = function(ICalEvent $event) {
27 27
             return new DissectEventAdapter($event);
28 28
         };
29 29
 
Please login to merge, or discard this patch.
Classes/Typolink/DatabaseRecordLinkBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
     {
86 86
         static $tables;
87 87
         if (!\is_array($tables)) {
88
-            $tables = array_map(function ($config) {
88
+            $tables = array_map(function($config) {
89 89
                 return $config['tableName'];
90 90
             }, GeneralUtility::makeInstance(Register::class)->getRegister());
91 91
         }
Please login to merge, or discard this patch.
Classes/Hooks/CmsLayout.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
 
66 66
         $actions = $this->flexFormService->get('switchableControllerActions', 'main');
67 67
         $parts = GeneralUtility::trimExplode(';', $actions, true);
68
-        $parts = array_map(function ($element) {
68
+        $parts = array_map(function($element) {
69 69
             $split = explode('->', $element);
70 70
 
71 71
             return ucfirst($split[1]);
Please login to merge, or discard this patch.
Classes/Domain/Repository/IndexRepository.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -214,8 +214,8 @@
 block discarded – undo
214 214
                 } elseif (\is_string($key) && \is_int($indexId)) {
215 215
                     // Table based single return value
216 216
                     $tabledIndexIds[] = [
217
-                         'table' => $key,
218
-                         'indexIds' => [$indexId],
217
+                            'table' => $key,
218
+                            'indexIds' => [$indexId],
219 219
                     ];
220 220
                 }
221 221
             }
Please login to merge, or discard this patch.
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     /**
77 77
      * Set the index types.
78 78
      *
79
-     * @param array $types
79
+     * @param string[] $types
80 80
      */
81 81
     public function setIndexTypes(array $types)
82 82
     {
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     /**
87 87
      * Override page IDs.
88 88
      *
89
-     * @param array $overridePageIds
89
+     * @param integer[] $overridePageIds
90 90
      */
91 91
     public function setOverridePageIds($overridePageIds)
92 92
     {
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      * Find List.
137 137
      *
138 138
      * @param int        $limit
139
-     * @param int|string $listStartTime
139
+     * @param integer $listStartTime
140 140
      * @param int        $startOffsetHours
141 141
      * @param int        $overrideStartDate
142 142
      * @param int        $overrideEndDate
@@ -335,7 +335,7 @@  discard block
 block discarded – undo
335 335
      * Find by traversing information.
336 336
      *
337 337
      * @param Index      $index
338
-     * @param bool|true  $future
338
+     * @param boolean  $future
339 339
      * @param bool|false $past
340 340
      * @param int        $limit
341 341
      * @param string     $sort
@@ -383,7 +383,7 @@  discard block
 block discarded – undo
383 383
      * Find by traversing information.
384 384
      *
385 385
      * @param DomainObjectInterface $event
386
-     * @param bool|true             $future
386
+     * @param boolean             $future
387 387
      * @param bool|false            $past
388 388
      * @param int                   $limit
389 389
      * @param string                $sort
Please login to merge, or discard this patch.
Classes/ViewHelpers/DateTime/FormatUtcDateViewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 
34 34
         $date = $arguments['date'];
35 35
         if ($date instanceof \DateTimeInterface) {
36
-            $renderChildrenClosure = function () use ($date) {
36
+            $renderChildrenClosure = function() use ($date) {
37 37
                 // Convert date to timestamp, so that it can be reparsed.
38 38
                 return $date->getTimestamp();
39 39
             };
Please login to merge, or discard this patch.
Classes/Updates/CalMigrationUpdate.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1060,7 +1060,7 @@
 block discarded – undo
1060 1060
         $connection = $connectionPool->getConnectionByName(ConnectionPool::DEFAULT_CONNECTION_NAME);
1061 1061
         $dbSchema = $connection->getSchemaManager()->createSchema();
1062 1062
 
1063
-        $tableNames = array_map(function ($table) {
1063
+        $tableNames = array_map(function($table) {
1064 1064
             return $table->getName();
1065 1065
         }, $dbSchema->getTables());
1066 1066
 
Please login to merge, or discard this patch.
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -564,7 +564,7 @@  discard block
 block discarded – undo
564 564
     /**
565 565
      * Update event with configuration.
566 566
      *
567
-     * @param $eventImportId
567
+     * @param string $eventImportId
568 568
      * @param $configuration
569 569
      * @param $dbQueries
570 570
      * @param $customMessages
@@ -689,7 +689,7 @@  discard block
 block discarded – undo
689 689
     /**
690 690
      * Find event by import ID.
691 691
      *
692
-     * @param $eventImportId
692
+     * @param string $eventImportId
693 693
      * @param $dbQueries
694 694
      * @param $customMessages
695 695
      *
@@ -762,7 +762,7 @@  discard block
 block discarded – undo
762 762
      * Get exception configuration for exception group.
763 763
      *
764 764
      * @param       $groupId
765
-     * @param array $dbQueries
765
+     * @param string[] $dbQueries
766 766
      *
767 767
      * @return string
768 768
      */
Please login to merge, or discard this patch.
Classes/Controller/BackendController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@
 block discarded – undo
130 130
      * Check if access to page is allowed for current user.
131 131
      *
132 132
      * @param int   $pageId
133
-     * @param array $mountPoints
133
+     * @param integer[] $mountPoints
134 134
      *
135 135
      * @return bool
136 136
      */
Please login to merge, or discard this patch.