Completed
Pull Request — master (#170)
by Carsten
03:56
created
Classes/Controller/AbstractController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
      * Send the content type header and the right file extension in front of the content
71 71
      *
72 72
      * @param $contentType
73
-     * @param $fileExtension
73
+     * @param string $fileExtension
74 74
      */
75 75
     protected function sendHeaderAndFilename($contentType, $fileExtension)
76 76
     {
Please login to merge, or discard this patch.
Classes/Service/CalDav/PrincipalBackendTypo3.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
      *
130 130
      * @param $principal
131 131
      *
132
-     * @return array
132
+     * @return string[]
133 133
      * @throws Exception
134 134
      */
135 135
     public function getGroupMemberSet($principal)
Please login to merge, or discard this patch.
Classes/Service/ContentElementLayoutService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      * Add one row to the table
45 45
      *
46 46
      * @param string $label
47
-     * @param mixed  $value
47
+     * @param string  $value
48 48
      */
49 49
     public function addRow($label, $value)
50 50
     {
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
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
 
69 69
         $actions = $this->flexFormService->get('switchableControllerActions', 'main');
70 70
         $parts = GeneralUtility::trimExplode(';', $actions, true);
71
-        $parts = array_map(function ($element) {
71
+        $parts = array_map(function($element) {
72 72
             $split = explode('->', $element);
73 73
             return ucfirst($split[1]);
74 74
         }, $parts);
Please login to merge, or discard this patch.
Classes/Domain/Repository/IndexRepository.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
      * Find List
71 71
      *
72 72
      * @param int $limit
73
-     * @param int|string $listStartTime
73
+     * @param integer $listStartTime
74 74
      * @param int $startOffsetHours
75 75
      * @param int $overrideStartDate
76 76
      * @param int $overrideEndDate
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
      * Find by traversing information
204 204
      *
205 205
      * @param DomainObjectInterface $event
206
-     * @param bool|true      $future
206
+     * @param boolean      $future
207 207
      * @param bool|false     $past
208 208
      * @param int            $limit
209 209
      * @param string         $sort
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -395,7 +395,7 @@
 block discarded – undo
395 395
             $indexTypes = $this->indexTypes;
396 396
             if (GeneralUtility::compat_version('8.5')) {
397 397
                 // @todo check why the 8.5 do not wrap arround string
398
-                $indexTypes = array_map(function ($item) {
398
+                $indexTypes = array_map(function($item) {
399 399
                     return '"' . $item . '"';
400 400
                 }, $indexTypes);
401 401
             }
Please login to merge, or discard this patch.
Classes/Service/CalDav/BackendTypo3.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -485,9 +485,9 @@
 block discarded – undo
485 485
     /**
486 486
      * Update cal event
487 487
      *
488
-     * @param $calendarId
489
-     * @param $objectUri
490
-     * @param $calendarData
488
+     * @param string $calendarId
489
+     * @param string $objectUri
490
+     * @param string $calendarData
491 491
      */
492 492
     private function updateCalEvent($calendarId, $objectUri, $calendarData)
493 493
     {
Please login to merge, or discard this patch.
Classes/Updates/CalMigrationUpdate.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
     }
273 273
 
274 274
     /**
275
-     * @param $eventImportId
275
+     * @param string $eventImportId
276 276
      * @param $configuration
277 277
      * @param $dbQueries
278 278
      * @param $customMessages
@@ -377,7 +377,7 @@  discard block
 block discarded – undo
377 377
     }
378 378
 
379 379
     /**
380
-     * @param $eventImportId
380
+     * @param string $eventImportId
381 381
      * @param $dbQueries
382 382
      * @param $customMessages
383 383
      *
Please login to merge, or discard this patch.
Classes/Utility/EventUtility.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      * @param PluginConfiguration|array $configuration
20 20
      * @param int $uid
21 21
      *
22
-     * @return object
22
+     * @return \TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface
23 23
      */
24 24
     public static function getOriginalRecordByConfiguration($configuration, $uid)
25 25
     {
Please login to merge, or discard this patch.
Classes/Command/CleanupCommandController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,12 +102,12 @@
 block discarded – undo
102 102
     protected function processEvent(EventRepository $repository, Event $model, $modus)
103 103
     {
104 104
         // define the function for the delete-modus.
105
-        $delete = function ($repository, $model) {
105
+        $delete = function($repository, $model) {
106 106
             $repository->remove($model);
107 107
         };
108 108
 
109 109
         // define the function for the hide-modus.
110
-        $hide = function ($repository, $model) {
110
+        $hide = function($repository, $model) {
111 111
             $model->setHidden(true);
112 112
             $repository->update($model);
113 113
         };
Please login to merge, or discard this patch.