@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | * Find List. |
69 | 69 | * |
70 | 70 | * @param int $limit |
71 | - * @param int|string $listStartTime |
|
71 | + * @param integer $listStartTime |
|
72 | 72 | * @param int $startOffsetHours |
73 | 73 | * @param int $overrideStartDate |
74 | 74 | * @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 |
@@ -18,7 +18,6 @@ |
||
18 | 18 | use TYPO3\CMS\Extbase\Configuration\BackendConfigurationManager; |
19 | 19 | use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface; |
20 | 20 | use TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface; |
21 | -use TYPO3\CMS\Extbase\Object\ObjectManager; |
|
22 | 21 | use TYPO3\CMS\Extbase\Persistence\QueryInterface; |
23 | 22 | |
24 | 23 | /** |
@@ -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 | { |
@@ -21,7 +21,7 @@ |
||
21 | 21 | /** |
22 | 22 | * Build the timetable for the given configuration matrix (sorted). |
23 | 23 | * |
24 | - * @param array $ids |
|
24 | + * @param integer[] $ids |
|
25 | 25 | * |
26 | 26 | * @return array |
27 | 27 | */ |
@@ -243,7 +243,7 @@ |
||
243 | 243 | $sort = $this->settings['sorting']; |
244 | 244 | $this->checkStaticTemplateIsIncluded(); |
245 | 245 | $this->slotExtendedAssignMultiple([ |
246 | - 'indices' => $this->indexRepository->findByPast($limit, $sort), |
|
246 | + 'indices' => $this->indexRepository->findByPast($limit, $sort), |
|
247 | 247 | ], __CLASS__, __FUNCTION__); |
248 | 248 | } |
249 | 249 |
@@ -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 | * |
@@ -153,7 +153,6 @@ discard block |
||
153 | 153 | /** |
154 | 154 | * Normalize quartar. |
155 | 155 | * |
156 | - * @param int|null $quarter |
|
157 | 156 | * |
158 | 157 | * @return int |
159 | 158 | */ |
@@ -234,7 +233,7 @@ discard block |
||
234 | 233 | /** |
235 | 234 | * Get the End of the given day. |
236 | 235 | * |
237 | - * @param int|string|\DateTime|null $dateInformation |
|
236 | + * @param \DateTime $dateInformation |
|
238 | 237 | * |
239 | 238 | * @return \DateTime |
240 | 239 | */ |
@@ -9,7 +9,6 @@ |
||
9 | 9 | |
10 | 10 | use DmitryDulepov\Realurl\Configuration\ConfigurationReader; |
11 | 11 | use DmitryDulepov\Realurl\Utility; |
12 | -use HDNET\Calendarize\Domain\Model\Index; |
|
13 | 12 | use HDNET\Calendarize\Service\IndexerService; |
14 | 13 | use HDNET\Calendarize\Utility\HelperUtility; |
15 | 14 | use TYPO3\CMS\Core\Database\ConnectionPool; |
@@ -164,7 +164,7 @@ |
||
164 | 164 | } |
165 | 165 | |
166 | 166 | $aliasBase = $alias; |
167 | - for ($i = 0;; ++$i) { |
|
167 | + for ($i = 0; ; ++$i) { |
|
168 | 168 | $alias = $i > 0 ? $aliasBase . '-' . $i : $aliasBase; |
169 | 169 | if (!$this->aliasAlreadyExists($alias)) { |
170 | 170 | $entry['value_alias'] = $alias; |
@@ -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 | { |
@@ -10,13 +10,11 @@ |
||
10 | 10 | use HDNET\Calendarize\Domain\Repository\IndexRepository; |
11 | 11 | use HDNET\Calendarize\Property\TypeConverter\AbstractBookingRequest; |
12 | 12 | use HDNET\Calendarize\Service\PluginConfigurationService; |
13 | -use HDNET\Calendarize\Utility\HelperUtility; |
|
14 | 13 | use TYPO3\CMS\Core\Messaging\FlashMessage; |
15 | 14 | use TYPO3\CMS\Core\Utility\GeneralUtility; |
16 | 15 | use TYPO3\CMS\Core\Utility\HttpUtility; |
17 | 16 | use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface; |
18 | 17 | use TYPO3\CMS\Extbase\Mvc\Controller\ActionController; |
19 | -use TYPO3\CMS\Extbase\Object\ObjectManager; |
|
20 | 18 | use TYPO3\CMS\Extbase\Security\Cryptography\HashService; |
21 | 19 | use TYPO3\CMS\Extbase\SignalSlot\Dispatcher; |
22 | 20 | use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; |
@@ -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 | } |