Completed
Push — master ( 96cd65...36bbbe )
by Tim
11:11 queued 49s
created
Classes/ViewHelpers/Link/WeekViewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
      */
53 53
     protected function getCwYear(\DateTime $date)
54 54
     {
55
-        $year = (int) $date->format('Y');
55
+        $year = (int)$date->format('Y');
56 56
         if ('01' === $date->format('m') && ('52' === $date->format('W') || '53' === $date->format('W'))) {
57 57
             --$year;
58 58
         } else {
Please login to merge, or discard this patch.
Classes/ViewHelpers/TitleTagViewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      */
31 31
     public static function renderStatic(array $arguments, \Closure $renderChildrenClosure, RenderingContextInterface $renderingContext)
32 32
     {
33
-        $content = \trim((string) $renderChildrenClosure());
33
+        $content = \trim((string)$renderChildrenClosure());
34 34
         if (!empty($content)) {
35 35
             $GLOBALS['TSFE']->altPageTitle = $content;
36 36
             $GLOBALS['TSFE']->indexedDocTitle = $content;
Please login to merge, or discard this patch.
Classes/Domain/Repository/IndexRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -335,7 +335,7 @@  discard block
 block discarded – undo
335 335
      */
336 336
     public function findWeek($year, $week, $weekStart = 1)
337 337
     {
338
-        $weekStart = (int) $weekStart;
338
+        $weekStart = (int)$weekStart;
339 339
         $daysShift = DateTimeUtility::SECONDS_DAY * ($weekStart - 1);
340 340
         $firstDay = DateTimeUtility::convertWeekYear2DayMonthYear($week, $year);
341 341
         $timezone = DateTimeUtility::getTimeZone();
@@ -445,7 +445,7 @@  discard block
 block discarded – undo
445 445
         $config = $objectManager->get(ConfigurationManagerInterface::class);
446 446
         $pluginConfig = $config->getConfiguration(ConfigurationManagerInterface::CONFIGURATION_TYPE_SETTINGS);
447 447
 
448
-        $mode = isset($pluginConfig['indexLanguageMode']) ? (string) $pluginConfig['indexLanguageMode'] : 'strict';
448
+        $mode = isset($pluginConfig['indexLanguageMode']) ? (string)$pluginConfig['indexLanguageMode'] : 'strict';
449 449
 
450 450
         return $mode;
451 451
     }
Please login to merge, or discard this patch.