Completed
Push — master ( c73141...490d99 )
by Tim
04:55 queued 02:37
created
Classes/Controller/CalendarController.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -244,7 +244,7 @@
 block discarded – undo
244 244
         $sort = $this->settings['sorting'];
245 245
         $this->checkStaticTemplateIsIncluded();
246 246
         $this->slotExtendedAssignMultiple([
247
-           'indices' => $this->indexRepository->findByPast($limit, $sort)
247
+            'indices' => $this->indexRepository->findByPast($limit, $sort)
248 248
         ], __CLASS__, __FUNCTION__);
249 249
     }
250 250
 
Please login to merge, or discard this patch.
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
             $configuration = ExtensionConfigurationUtility::get($configurationName);
74 74
 
75 75
             // get Event by Configuration and Uid
76
-            $event = EventUtility::getOriginalRecordByConfiguration($configuration, (int) $this->request->getArgument('event'));
76
+            $event = EventUtility::getOriginalRecordByConfiguration($configuration, (int)$this->request->getArgument('event'));
77 77
             $index = $this->indexRepository->findByEventTraversing($event, true, false, 1)->getFirst();
78 78
 
79 79
             // if there is a valid index in the event
@@ -296,8 +296,8 @@  discard block
 block discarded – undo
296 296
         if (null === $week) {
297 297
             $week = $now->format('W');
298 298
         }
299
-        $weekStart = (int) $this->settings['weekStart'];
300
-        $firstDay = DateTimeUtility::convertWeekYear2DayMonthYear((int) $week, $year, $weekStart);
299
+        $weekStart = (int)$this->settings['weekStart'];
300
+        $firstDay = DateTimeUtility::convertWeekYear2DayMonthYear((int)$week, $year, $weekStart);
301 301
         $timezone = DateTimeUtility::getTimeZone();
302 302
         $firstDay->setTimezone($timezone);
303 303
         $firstDay->setTime(0, 0, 0);
@@ -357,7 +357,7 @@  discard block
 block discarded – undo
357 357
         if (null === $index) {
358 358
             // handle fallback for "strange language settings"
359 359
             if ($this->request->hasArgument('index')) {
360
-                $indexId = (int) $this->request->getArgument('index');
360
+                $indexId = (int)$this->request->getArgument('index');
361 361
                 if ($indexId > 0) {
362 362
                     $index = $this->indexRepository->findByUid($indexId);
363 363
                 }
@@ -365,7 +365,7 @@  discard block
 block discarded – undo
365 365
 
366 366
             if (null === $index) {
367 367
                 if (!MathUtility::canBeInterpretedAsInteger($this->settings['listPid'])) {
368
-                    return (string) TranslateUtility::get('noEventDetailView');
368
+                    return (string)TranslateUtility::get('noEventDetailView');
369 369
                 }
370 370
                 $this->slottedRedirect(__CLASS__, __FUNCTION__ . 'noEvent');
371 371
             }
@@ -487,12 +487,12 @@  discard block
 block discarded – undo
487 487
         } elseif (MathUtility::canBeInterpretedAsInteger($year)) {
488 488
             $indices = $this->indexRepository->findYear($year);
489 489
         } else {
490
-            $overrideStartDate = (int) $this->settings['overrideStartdate'];
491
-            $overrideEndDate = (int) $this->settings['overrideEnddate'];
490
+            $overrideStartDate = (int)$this->settings['overrideStartdate'];
491
+            $overrideEndDate = (int)$this->settings['overrideEnddate'];
492 492
             $indices = $this->indexRepository->findList(
493
-                (int) $this->settings['limit'],
493
+                (int)$this->settings['limit'],
494 494
                 $this->settings['listStartTime'],
495
-                (int) $this->settings['listStartTimeOffsetHours'],
495
+                (int)$this->settings['listStartTimeOffsetHours'],
496 496
                 $overrideStartDate,
497 497
                 $overrideEndDate
498 498
             );
Please login to merge, or discard this patch.