@@ -3,7 +3,7 @@ |
||
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 |
@@ -3,7 +3,7 @@ |
||
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 |
@@ -3,7 +3,7 @@ |
||
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 |
@@ -3,7 +3,7 @@ |
||
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 |
@@ -3,7 +3,7 @@ |
||
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 |
@@ -3,7 +3,7 @@ |
||
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 |
@@ -3,7 +3,7 @@ |
||
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 |
@@ -3,7 +3,7 @@ discard block |
||
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 |
||
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 |
||
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 | } |
@@ -3,7 +3,7 @@ |
||
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 |