@@ -3,7 +3,7 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * Link to the week. |
| 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 the index. |
| 5 | 5 | */ |
| 6 | -declare(strict_types=1); |
|
| 6 | +declare(strict_types = 1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Calendarize\ViewHelpers\Link; |
| 9 | 9 | |
@@ -38,6 +38,6 @@ discard block |
||
| 38 | 38 | ], |
| 39 | 39 | ]; |
| 40 | 40 | |
| 41 | - return parent::renderLink($this->getPageUid($this->arguments['pageUid'], 'detailPid'), $additionalParams, (bool) $this->arguments['absolute']); |
|
| 41 | + return parent::renderLink($this->getPageUid($this->arguments['pageUid'], 'detailPid'), $additionalParams, (bool)$this->arguments['absolute']); |
|
| 42 | 42 | } |
| 43 | 43 | } |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * Link to the list. |
| 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 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * Link to the month. |
| 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 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * Check if a date is lower. |
| 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 | * TitleTagViewHelper. |
| 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 | * Days in week 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,7 +38,7 @@ discard block |
||
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | $days = []; |
| 41 | - $move = (int) ($date->format('N') - ((int) $this->arguments['weekStartsAt'])); |
|
| 41 | + $move = (int)($date->format('N') - ((int)$this->arguments['weekStartsAt'])); |
|
| 42 | 42 | $date->modify('-' . $move . ' days'); |
| 43 | 43 | $inWeek = false; |
| 44 | 44 | for ($i = 0; $i < 7; ++$i) { |
@@ -3,7 +3,7 @@ discard block |
||
| 3 | 3 | /** |
| 4 | 4 | * Days 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 | |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | { |
| 24 | 24 | $daysInMonth = $date->format('t'); |
| 25 | 25 | $days = []; |
| 26 | - $move = (int) ($date->format('j') - 1); |
|
| 26 | + $move = (int)($date->format('j') - 1); |
|
| 27 | 27 | $date->modify('-' . $move . ' days'); |
| 28 | 28 | |
| 29 | 29 | for ($i = 0; $i < $daysInMonth; ++$i) { |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * Abstraction for loop 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 | |