Completed
Pull Request — master (#220)
by
unknown
07:54
created
Classes/Utility/TranslateUtility.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 /**
4 4
  * Translate helper.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Utility;
9 9
 
Please login to merge, or discard this patch.
Classes/Utility/HelperUtility.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 /**
4 4
  * Helper Utility.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Utility;
9 9
 
Please login to merge, or discard this patch.
Classes/Utility/EventUtility.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 /**
4 4
  * Event utility.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Utility;
9 9
 
Please login to merge, or discard this patch.
Classes/Utility/IndexUtility.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 /**
4 4
  * Index utility.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Utility;
9 9
 
Please login to merge, or discard this patch.
Classes/Utility/ExtensionConfigurationUtility.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 /**
4 4
  * ExtensionConfiguration Utility.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Utility;
9 9
 
Please login to merge, or discard this patch.
Classes/ViewHelpers/LanguageViewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 /**
4 4
  * LanguageViewHelper.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\ViewHelpers;
9 9
 
Please login to merge, or discard this patch.
Classes/ViewHelpers/Link/BookingViewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 /**
4 4
  * Link to the booking page.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\ViewHelpers\Link;
9 9
 
Please login to merge, or discard this patch.
Classes/ViewHelpers/Link/AbstractLinkViewHelper.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 /**
4 4
  * Link to anything ;).
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\ViewHelpers\Link;
9 9
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     public function renderLink($pageUid = null, array $additionalParams = [], $absolute = false)
57 57
     {
58 58
         $uriBuilder = $this->controllerContext->getUriBuilder();
59
-        $this->lastHref = (string) $uriBuilder->reset()
59
+        $this->lastHref = (string)$uriBuilder->reset()
60 60
             ->setTargetPageUid($pageUid)
61 61
             ->setArguments($additionalParams)
62 62
             ->setCreateAbsoluteUri($absolute)
@@ -83,17 +83,17 @@  discard block
 block discarded – undo
83 83
     protected function getPageUid($pageUid, $contextName = null)
84 84
     {
85 85
         if (MathUtility::canBeInterpretedAsInteger($pageUid) && $pageUid > 0) {
86
-            return (int) $pageUid;
86
+            return (int)$pageUid;
87 87
         }
88 88
 
89 89
         // by settings
90 90
         if ($contextName && $this->templateVariableContainer->exists('settings')) {
91 91
             $settings = $this->templateVariableContainer->get('settings');
92 92
             if (isset($settings[$contextName]) && MathUtility::canBeInterpretedAsInteger($settings[$contextName])) {
93
-                return (int) $settings[$contextName];
93
+                return (int)$settings[$contextName];
94 94
             }
95 95
         }
96 96
 
97
-        return (int) $GLOBALS['TSFE']->id;
97
+        return (int)$GLOBALS['TSFE']->id;
98 98
     }
99 99
 }
Please login to merge, or discard this patch.
Classes/ViewHelpers/Link/DayViewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 /**
4 4
  * Link to the day.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\ViewHelpers\Link;
9 9
 
Please login to merge, or discard this patch.