Completed
Push — master ( a97beb...5a8c67 )
by Tim
02:01
created
Classes/Domain/Model/Index.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
             if (empty($configuration)) {
123 123
                 throw new Exception('No valid configuration for the current index: ' . $this->getUniqueRegisterKey(), 123678123);
124 124
             }
125
-            $this->originalObject = EventUtility::getOriginalRecordByConfiguration($configuration, (int) $this->getForeignUid());
125
+            $this->originalObject = EventUtility::getOriginalRecordByConfiguration($configuration, (int)$this->getForeignUid());
126 126
         }
127 127
 
128 128
         return $this->originalObject;
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
      */
256 256
     public function isAllDay()
257 257
     {
258
-        return (bool) $this->allDay;
258
+        return (bool)$this->allDay;
259 259
     }
260 260
 
261 261
     /**
@@ -365,7 +365,7 @@  discard block
 block discarded – undo
365 365
      */
366 366
     public function getSysLanguageUid()
367 367
     {
368
-        return (int) $this->_languageUid;
368
+        return (int)$this->_languageUid;
369 369
     }
370 370
 
371 371
     /**
Please login to merge, or discard this patch.
Classes/Domain/Model/Configuration.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
      */
207 207
     public function isAllDay()
208 208
     {
209
-        return (bool) $this->allDay;
209
+        return (bool)$this->allDay;
210 210
     }
211 211
 
212 212
     /**
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
      */
217 217
     public function setAllDay($allDay)
218 218
     {
219
-        $this->allDay = (bool) $allDay;
219
+        $this->allDay = (bool)$allDay;
220 220
     }
221 221
 
222 222
     /**
@@ -536,7 +536,7 @@  discard block
 block discarded – undo
536 536
      */
537 537
     public function isOpenEndTime()
538 538
     {
539
-        return (bool) $this->openEndTime;
539
+        return (bool)$this->openEndTime;
540 540
     }
541 541
 
542 542
     /**
Please login to merge, or discard this patch.
Classes/Service/TcaInformation.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
         $previewLimit = 10;
35 35
         if (isset($configuration['fieldConf']['config']['items'])) {
36
-            $previewLimit = (int) $configuration['fieldConf']['config']['items'];
36
+            $previewLimit = (int)$configuration['fieldConf']['config']['items'];
37 37
         }
38 38
 
39 39
         $indexService = GeneralUtility::makeInstance(IndexerService::class);
@@ -76,13 +76,13 @@  discard block
 block discarded – undo
76 76
         $items = [];
77 77
         foreach ($events as $event) {
78 78
             $startDateStamp = $event['start_date'] instanceof \DateTimeInterface ? $event['start_date']->getTimestamp() : $event['start_date'];
79
-            $startDate = \strftime(DateTimeUtility::FORMAT_DATE_BACKEND, (int) $startDateStamp);
79
+            $startDate = \strftime(DateTimeUtility::FORMAT_DATE_BACKEND, (int)$startDateStamp);
80 80
             $endDateStamp = $event['end_date'] instanceof \DateTimeInterface ? $event['end_date']->getTimestamp() : $event['end_date'];
81
-            $endDate = \strftime(DateTimeUtility::FORMAT_DATE_BACKEND, (int) $endDateStamp);
81
+            $endDate = \strftime(DateTimeUtility::FORMAT_DATE_BACKEND, (int)$endDateStamp);
82 82
             $entry = $startDate . ' - ' . $endDate;
83 83
             if (!$event['all_day']) {
84 84
                 $start = BackendUtility::time($event['start_time'] % DateTimeUtility::SECONDS_DAY, false);
85
-                if ((bool) $event['open_end_time']) {
85
+                if ((bool)$event['open_end_time']) {
86 86
                     $end = '"' . TranslateUtility::get('openEndTime') . '"';
87 87
                 } else {
88 88
                     $end = BackendUtility::time($event['end_time'] % DateTimeUtility::SECONDS_DAY, false);
Please login to merge, or discard this patch.