@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | /** |
4 | 4 | * Import default events. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Calendarize\Slots; |
9 | 9 | |
@@ -138,7 +138,7 @@ discard block |
||
138 | 138 | */ |
139 | 139 | protected function nl2br($string) |
140 | 140 | { |
141 | - $string = \nl2br((string) $string); |
|
141 | + $string = \nl2br((string)$string); |
|
142 | 142 | |
143 | 143 | return \str_replace('\\n', '<br />', $string); |
144 | 144 | } |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * Register the calendarize objects. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Calendarize; |
9 | 9 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * AbstractBookingRequest. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Calendarize\Property\TypeConverter; |
9 | 9 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * EventLinkHandler. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Calendarize\LinkHandling; |
9 | 9 |
@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | /** |
4 | 4 | * EventSelectionLinkHandler. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Calendarize\LinkHandling; |
9 | 9 | |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | { |
63 | 63 | GeneralUtility::makeInstance(PageRenderer::class)->loadRequireJsModule('TYPO3/CMS/Recordlist/PageLinkHandler'); |
64 | 64 | |
65 | - $this->expandPage = isset($request->getQueryParams()['expandPage']) ? (int) $request->getQueryParams()['expandPage'] : 0; |
|
65 | + $this->expandPage = isset($request->getQueryParams()['expandPage']) ? (int)$request->getQueryParams()['expandPage'] : 0; |
|
66 | 66 | $this->setTemporaryDbMounts(); |
67 | 67 | |
68 | 68 | $backendUser = $this->getBackendUser(); |
@@ -70,9 +70,9 @@ discard block |
||
70 | 70 | /** @var ElementBrowserPageTreeView $pageTree */ |
71 | 71 | $pageTree = GeneralUtility::makeInstance(ElementBrowserPageTreeView::class); |
72 | 72 | $pageTree->setLinkParameterProvider($this); |
73 | - $pageTree->ext_showNavTitle = (bool) $backendUser->getTSConfigVal('options.pageTree.showNavTitle'); |
|
74 | - $pageTree->ext_showPageId = (bool) $backendUser->getTSConfigVal('options.pageTree.showPageIdWithTitle'); |
|
75 | - $pageTree->ext_showPathAboveMounts = (bool) $backendUser->getTSConfigVal('options.pageTree.showPathAboveMounts'); |
|
73 | + $pageTree->ext_showNavTitle = (bool)$backendUser->getTSConfigVal('options.pageTree.showNavTitle'); |
|
74 | + $pageTree->ext_showPageId = (bool)$backendUser->getTSConfigVal('options.pageTree.showPageIdWithTitle'); |
|
75 | + $pageTree->ext_showPathAboveMounts = (bool)$backendUser->getTSConfigVal('options.pageTree.showPathAboveMounts'); |
|
76 | 76 | $pageTree->addField('nav_title'); |
77 | 77 | |
78 | 78 | $this->view->assign('temporaryTreeMountCancelLink', $this->getTemporaryTreeMountCancelNotice()); |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * KE Search Indexer. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Calendarize\Hooks; |
9 | 9 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * Hook for cmd map processing. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Calendarize\Hooks; |
9 | 9 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * Realurl configuration. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Calendarize\Hooks; |
9 | 9 |
@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | /** |
4 | 4 | * Time shift function. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Calendarize\Hooks; |
9 | 9 | |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | } |
29 | 29 | |
30 | 30 | $configuration = $this->getConfiguration(); |
31 | - $timeShift = isset($configuration['timeShift']) ? (int) $configuration['timeShift'] : 0; |
|
31 | + $timeShift = isset($configuration['timeShift']) ? (int)$configuration['timeShift'] : 0; |
|
32 | 32 | if ($timeShift <= 0) { |
33 | 33 | // shift is disabled |
34 | 34 | return; |