@@ -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 | */ |
@@ -237,7 +236,7 @@ discard block |
||
237 | 236 | /** |
238 | 237 | * Get the End of the given day. |
239 | 238 | * |
240 | - * @param int|string|\DateTimeInterface|null $dateInformation |
|
239 | + * @param \DateTime $dateInformation |
|
241 | 240 | * |
242 | 241 | * @return \DateTime |
243 | 242 | */ |
@@ -117,7 +117,7 @@ |
||
117 | 117 | $typeList = isset($configuration['tcaTypeList']) ? \trim($configuration['tcaTypeList']) : ''; |
118 | 118 | // Configure position of where to put the calendarize fields |
119 | 119 | // Supports everything offered by TYPO3, e.g.: before:abc, after:abc, replace:abc |
120 | - $position = isset($configuration['tcaPosition']) ? \trim($configuration['tcaPosition']): ''; |
|
120 | + $position = isset($configuration['tcaPosition']) ? \trim($configuration['tcaPosition']) : ''; |
|
121 | 121 | $GLOBALS['TCA'][$tableName]['columns'][$fieldName] = [ |
122 | 122 | 'label' => 'Calendarize', |
123 | 123 | 'l10n_mode' => 'exclude', |
@@ -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 |
@@ -41,7 +41,7 @@ |
||
41 | 41 | public function __invoke(ImportSingleIcalEvent $event) |
42 | 42 | { |
43 | 43 | // TODO: Workaround to disable default event. Look for better solution! |
44 | - if ((bool) \HDNET\Calendarize\Utility\ConfigurationUtility::get('disableDefaultEvent')) { |
|
44 | + if ((bool)\HDNET\Calendarize\Utility\ConfigurationUtility::get('disableDefaultEvent')) { |
|
45 | 45 | return; |
46 | 46 | } |
47 | 47 |