@@ -70,7 +70,7 @@ |
||
| 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 | { |
@@ -129,7 +129,7 @@ |
||
| 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) |
@@ -44,7 +44,7 @@ |
||
| 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 | { |
@@ -68,7 +68,7 @@ |
||
| 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); |
@@ -70,7 +70,7 @@ discard block |
||
| 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 |
||
| 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 |
@@ -395,7 +395,7 @@ |
||
| 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 | } |
@@ -485,9 +485,9 @@ |
||
| 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 | { |
@@ -272,7 +272,7 @@ discard block |
||
| 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 |
||
| 377 | 377 | } |
| 378 | 378 | |
| 379 | 379 | /** |
| 380 | - * @param $eventImportId |
|
| 380 | + * @param string $eventImportId |
|
| 381 | 381 | * @param $dbQueries |
| 382 | 382 | * @param $customMessages |
| 383 | 383 | * |
@@ -19,7 +19,7 @@ |
||
| 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 | { |
@@ -102,12 +102,12 @@ |
||
| 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 | }; |