Completed
Push — master ( 910ab8...21dbb8 )
by Tim
29s queued 11s
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/Updates/CalMigrationUpdate.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -409,7 +409,7 @@  discard block
 block discarded – undo
409 409
     /**
410 410
      * Update event with configuration.
411 411
      *
412
-     * @param $eventImportId
412
+     * @param string $eventImportId
413 413
      * @param $configuration
414 414
      * @param $dbQueries
415 415
      * @param $customMessages
@@ -531,7 +531,7 @@  discard block
 block discarded – undo
531 531
     /**
532 532
      * Find event by import ID.
533 533
      *
534
-     * @param $eventImportId
534
+     * @param string $eventImportId
535 535
      * @param $dbQueries
536 536
      * @param $customMessages
537 537
      *
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -504,7 +504,7 @@  discard block
 block discarded – undo
504 504
         $variables = $dispatcher->dispatch(__CLASS__, __FUNCTION__, $variables);
505 505
 
506 506
         foreach ($selectResults as $mm) {
507
-            $eventUidOld = (int) $mm['uid_foreign'];
507
+            $eventUidOld = (int)$mm['uid_foreign'];
508 508
             // event id is in uid_foreign
509 509
             $eventUid = (int)$this->getCalendarizeEventUid(self::IMPORT_PREFIX . $eventUidOld, $dbQueries, $customMessages);
510 510
 
@@ -1177,7 +1177,7 @@  discard block
 block discarded – undo
1177 1177
         $connection = $connectionPool->getConnectionByName(ConnectionPool::DEFAULT_CONNECTION_NAME);
1178 1178
         $dbSchema = $connection->getSchemaManager()->createSchema();
1179 1179
 
1180
-        $tableNames = array_map(function ($table) {
1180
+        $tableNames = array_map(function($table) {
1181 1181
             return $table->getName();
1182 1182
         }, $dbSchema->getTables());
1183 1183
 
Please login to merge, or discard this patch.
Classes/Controller/AbstractController.php 2 patches
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.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
         $this->settings = $this->configurationManager->getConfiguration(ConfigurationManagerInterface::CONFIGURATION_TYPE_SETTINGS);
68 68
 
69 69
         $pluginConfigurationService = GeneralUtility::makeInstance(PluginConfigurationService::class);
70
-        $this->settings = $pluginConfigurationService->respectPluginConfiguration((array) $this->settings);
70
+        $this->settings = $pluginConfigurationService->respectPluginConfiguration((array)$this->settings);
71 71
     }
72 72
 
73 73
     /**
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      */
114 114
     protected function sendHeaderAndFilename($contentType, $fileExtension)
115 115
     {
116
-        $testMode = (bool) $this->settings['feed']['debugMode'];
116
+        $testMode = (bool)$this->settings['feed']['debugMode'];
117 117
         if ($testMode) {
118 118
             header('Content-Type: text/plain; charset=utf-8');
119 119
         } else {
Please login to merge, or discard this patch.
Classes/Service/TcaService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
         $fullRow = $databaseConnection->select(['*'], $table, ['uid' => $params['row']['uid']])->fetch();
71 71
 
72 72
         $transPointer = $GLOBALS['TCA'][$table]['ctrl']['transOrigPointerField'] ?? false; // e.g. l10n_parent
73
-        if ($transPointer && (int) $fullRow[$transPointer] > 0) {
73
+        if ($transPointer && (int)$fullRow[$transPointer] > 0) {
74 74
             return;
75 75
         }
76 76
 
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 
87 87
         foreach ($configurations as $key => $value) {
88 88
             $paramsInternal = [
89
-                'row' => (array) $databaseConnection->select(
89
+                'row' => (array)$databaseConnection->select(
90 90
                     ['*'],
91 91
                     'tx_calendarize_domain_model_configuration',
92 92
                     ['uid' => $value]
Please login to merge, or discard this patch.
Classes/Service/TimeTable/TimeTimeTable.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     {
65 65
         switch ($configuration->getEndDateDynamic()) {
66 66
             case Configuration::END_DYNAMIC_1_DAY:
67
-                $callback = function ($entry) {
67
+                $callback = function($entry) {
68 68
                     if ($entry['start_date'] instanceof \DateTime) {
69 69
                         $entry['end_date'] = clone $entry['start_date'];
70 70
                         $entry['end_date']->modify('+1 day');
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
                 };
75 75
                 break;
76 76
             case Configuration::END_DYNAMIC_1_WEEK:
77
-                $callback = function ($entry) {
77
+                $callback = function($entry) {
78 78
                     if ($entry['start_date'] instanceof \DateTime) {
79 79
                         $entry['end_date'] = clone $entry['start_date'];
80 80
                         $entry['end_date']->modify('+1 week');
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
                 };
85 85
                 break;
86 86
             case Configuration::END_DYNAMIC_END_WEEK:
87
-                $callback = function ($entry) {
87
+                $callback = function($entry) {
88 88
                     if ($entry['start_date'] instanceof \DateTime) {
89 89
                         $entry['end_date'] = clone $entry['start_date'];
90 90
                         $entry['end_date']->modify('monday next week');
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
                 };
96 96
                 break;
97 97
             case Configuration::END_DYNAMIC_END_MONTH:
98
-                $callback = function ($entry) {
98
+                $callback = function($entry) {
99 99
                     if ($entry['start_date'] instanceof \DateTime) {
100 100
                         $entry['end_date'] = clone $entry['start_date'];
101 101
                         $entry['end_date']->modify('last day of this month');
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
                 break;
107 107
             case Configuration::END_DYNAMIC_END_YEAR:
108 108
 
109
-                $callback = function ($entry) {
109
+                $callback = function($entry) {
110 110
                     if ($entry['start_date'] instanceof \DateTime) {
111 111
                         $entry['end_date'] = clone $entry['start_date'];
112 112
                         $entry['end_date']->setDate((int)$entry['end_date']->format('Y'), 12, 31);
Please login to merge, or discard this patch.
Classes/Seo/EventXmlSitemapDataProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
                 $GLOBALS['TCA'][$table]['ctrl']['languageField'],
53 53
                 [
54 54
                     -1, // All languages
55
-                    $this->getLanguageId(),  // Current language
55
+                    $this->getLanguageId(), // Current language
56 56
                 ]
57 57
             );
58 58
         }
Please login to merge, or discard this patch.
Classes/Domain/Repository/IndexRepository.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     /**
66 66
      * Set the index types.
67 67
      *
68
-     * @param array $types
68
+     * @param string[] $types
69 69
      */
70 70
     public function setIndexTypes(array $types)
71 71
     {
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
     /**
76 76
      * Override page IDs.
77 77
      *
78
-     * @param array $overridePageIds
78
+     * @param integer[] $overridePageIds
79 79
      */
80 80
     public function setOverridePageIds($overridePageIds)
81 81
     {
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
      * Find List.
124 124
      *
125 125
      * @param int        $limit
126
-     * @param int|string $listStartTime
126
+     * @param integer $listStartTime
127 127
      * @param int        $startOffsetHours
128 128
      * @param int        $overrideStartDate
129 129
      * @param int        $overrideEndDate
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
      * Find by traversing information.
293 293
      *
294 294
      * @param DomainObjectInterface $event
295
-     * @param bool|true             $future
295
+     * @param boolean             $future
296 296
      * @param bool|false            $past
297 297
      * @param int                   $limit
298 298
      * @param string                $sort
Please login to merge, or discard this patch.
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.
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.