@@ -39,7 +39,7 @@ |
||
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 | { |
@@ -409,7 +409,7 @@ discard block |
||
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 |
||
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 | * |
@@ -1060,7 +1060,7 @@ |
||
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 |
@@ -109,7 +109,7 @@ discard block |
||
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 |
||
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 | { |
@@ -52,7 +52,7 @@ |
||
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 | } |
@@ -65,7 +65,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
@@ -214,8 +214,8 @@ |
||
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 | } |
@@ -23,7 +23,7 @@ |
||
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 |
@@ -85,7 +85,7 @@ |
||
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 | } |
@@ -137,12 +137,12 @@ discard block |
||
137 | 137 | protected function processEvent(EventRepository $repository, Event $model, $modus) |
138 | 138 | { |
139 | 139 | // define the function for the delete-modus. |
140 | - $delete = function ($repository, $model) { |
|
140 | + $delete = function($repository, $model) { |
|
141 | 141 | $repository->remove($model); |
142 | 142 | }; |
143 | 143 | |
144 | 144 | // define the function for the hide-modus. |
145 | - $hide = function ($repository, $model) { |
|
145 | + $hide = function($repository, $model) { |
|
146 | 146 | $model->setHidden(true); |
147 | 147 | $repository->update($model); |
148 | 148 | }; |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | ->execute() |
205 | 205 | ->fetchAll(); |
206 | 206 | |
207 | - $foreignUids = array_map(function ($item) { |
|
207 | + $foreignUids = array_map(function($item) { |
|
208 | 208 | return (int)$item['foreign_uid']; |
209 | 209 | }, $foreignUids); |
210 | 210 |
@@ -65,7 +65,7 @@ |
||
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]); |