@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | /** |
4 | 4 | * Weeks in month view helper. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Calendarize\ViewHelpers\Loop; |
9 | 9 | |
@@ -38,8 +38,8 @@ discard block |
||
38 | 38 | $dateClone->modify('first day of this month'); |
39 | 39 | |
40 | 40 | $monthCheck = $dateClone->format('m'); |
41 | - while ((int) $monthCheck === (int) $dateClone->format('m')) { |
|
42 | - $week = (int) $dateClone->format('W'); |
|
41 | + while ((int)$monthCheck === (int)$dateClone->format('m')) { |
|
42 | + $week = (int)$dateClone->format('W'); |
|
43 | 43 | if (!isset($weeks[$week])) { |
44 | 44 | $weeks[$week] = [ |
45 | 45 | 'week' => $week, |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * Modify a DateTime. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Calendarize\ViewHelpers\DateTime; |
9 | 9 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * Check if the given Index is on the given day. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Calendarize\ViewHelpers\DateTime; |
9 | 9 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * Check if a date is upper. |
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 | * IfExtensionLoadedViewHelper. |
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 @@ discard block |
||
3 | 3 | /** |
4 | 4 | * Quote JS. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Calendarize\ViewHelpers; |
9 | 9 | |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | */ |
31 | 31 | public function render() |
32 | 32 | { |
33 | - $content = null === $this->arguments['content'] || '' === \trim((string) $this->arguments['content']) ? $this->renderChildren() : $this->arguments['content']; |
|
33 | + $content = null === $this->arguments['content'] || '' === \trim((string)$this->arguments['content']) ? $this->renderChildren() : $this->arguments['content']; |
|
34 | 34 | |
35 | 35 | return GeneralUtility::quoteJSvalue($content); |
36 | 36 | } |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * AbstractViewHelper. |
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 | * Uri to the day. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Calendarize\ViewHelpers\Uri; |
9 | 9 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * Uri to the year. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Calendarize\ViewHelpers\Uri; |
9 | 9 |