Completed
Push — master ( 7c36f5...b7626b )
by Tim
01:50
created
Classes/Domain/Repository/IndexRepository.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -90,13 +90,13 @@  discard block
 block discarded – undo
90 90
         $query = $this->createQuery();
91 91
         $query->getQuerySettings()->setRespectSysLanguage(false);
92 92
         $query->getQuerySettings()->setLanguageOverlayMode(false);
93
-        $query->getQuerySettings()->setLanguageMode( "ignore");
93
+        $query->getQuerySettings()->setLanguageMode("ignore");
94 94
 
95 95
         // Notice Selection without any language handling
96 96
         unset($GLOBALS['TCA']['tx_calendarize_domain_model_index']['ctrl']['languageField']);
97 97
         unset($GLOBALS['TCA']['tx_calendarize_domain_model_index']['ctrl']['transOrigPointerField']);
98 98
 
99
-        $result =  $query->execute();
99
+        $result = $query->execute();
100 100
 
101 101
         return $result;
102 102
     }
@@ -374,7 +374,7 @@  discard block
 block discarded – undo
374 374
      */
375 375
     public function findWeek($year, $week, $weekStart = 1)
376 376
     {
377
-        $weekStart = (int) $weekStart;
377
+        $weekStart = (int)$weekStart;
378 378
         $daysShift = $weekStart - 1;
379 379
         $firstDay = DateTimeUtility::convertWeekYear2DayMonthYear($week, $year);
380 380
         $timezone = DateTimeUtility::getTimeZone();
@@ -495,7 +495,7 @@  discard block
 block discarded – undo
495 495
         $config = $objectManager->get(ConfigurationManagerInterface::class);
496 496
         $pluginConfig = $config->getConfiguration(ConfigurationManagerInterface::CONFIGURATION_TYPE_SETTINGS);
497 497
 
498
-        $mode = isset($pluginConfig['indexLanguageMode']) ? (string) $pluginConfig['indexLanguageMode'] : 'strict';
498
+        $mode = isset($pluginConfig['indexLanguageMode']) ? (string)$pluginConfig['indexLanguageMode'] : 'strict';
499 499
 
500 500
         return $mode;
501 501
     }
Please login to merge, or discard this patch.