Completed
Push — master ( af07f3...e65873 )
by Tim
44:04
created
Classes/Controller/BackendController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
         try {
56 56
             $info = $GLOBALS['BE_USER']->getSessionData('calendarize_be');
57 57
             $object = @unserialize((string)$info);
58
-            if($object instanceof OptionRequest) {
58
+            if ($object instanceof OptionRequest) {
59 59
                 return $object;
60 60
             }
61 61
         } catch (\Exception $exception) {
Please login to merge, or discard this patch.
Classes/Domain/Repository/IndexRepository.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
         unset($GLOBALS['TCA']['tx_calendarize_domain_model_index']['ctrl']['languageField']);
101 101
         unset($GLOBALS['TCA']['tx_calendarize_domain_model_index']['ctrl']['transOrigPointerField']);
102 102
 
103
-        if($options->getDirection() === 'asc') {
103
+        if ($options->getDirection() === 'asc') {
104 104
             $query->setOrderings([
105 105
                 'start_date' => QueryInterface::ORDER_ASCENDING,
106 106
                 'start_time' => QueryInterface::ORDER_ASCENDING,
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
         }
114 114
 
115 115
 
116
-        $result =  $query->execute();
116
+        $result = $query->execute();
117 117
 
118 118
         return $result;
119 119
     }
@@ -394,7 +394,7 @@  discard block
 block discarded – undo
394 394
      */
395 395
     public function findWeek($year, $week, $weekStart = 1)
396 396
     {
397
-        $weekStart = (int) $weekStart;
397
+        $weekStart = (int)$weekStart;
398 398
         $daysShift = $weekStart - 1;
399 399
         $firstDay = DateTimeUtility::convertWeekYear2DayMonthYear($week, $year);
400 400
         $timezone = DateTimeUtility::getTimeZone();
@@ -417,7 +417,7 @@  discard block
 block discarded – undo
417 417
     public function findDifferentTypesAndLocations(): array
418 418
     {
419 419
         $queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)->getQueryBuilderForTable('tx_calendarize_domain_model_index');
420
-        return (array) $queryBuilder->select('unique_register_key', 'pid', 'foreign_table')->from('tx_calendarize_domain_model_index')->groupBy('pid', 'foreign_table', 'unique_register_key')->execute()->fetchAll();
420
+        return (array)$queryBuilder->select('unique_register_key', 'pid', 'foreign_table')->from('tx_calendarize_domain_model_index')->groupBy('pid', 'foreign_table', 'unique_register_key')->execute()->fetchAll();
421 421
     }
422 422
 
423 423
     /**
@@ -510,7 +510,7 @@  discard block
 block discarded – undo
510 510
         $config = $objectManager->get(ConfigurationManagerInterface::class);
511 511
         $pluginConfig = $config->getConfiguration(ConfigurationManagerInterface::CONFIGURATION_TYPE_SETTINGS);
512 512
 
513
-        $mode = isset($pluginConfig['indexLanguageMode']) ? (string) $pluginConfig['indexLanguageMode'] : 'strict';
513
+        $mode = isset($pluginConfig['indexLanguageMode']) ? (string)$pluginConfig['indexLanguageMode'] : 'strict';
514 514
 
515 515
         return $mode;
516 516
     }
Please login to merge, or discard this patch.