@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | /** |
4 | 4 | * Configuration for time options. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Calendarize\Domain\Model; |
9 | 9 | |
@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | */ |
190 | 190 | public function isAllDay() |
191 | 191 | { |
192 | - return (bool) $this->allDay; |
|
192 | + return (bool)$this->allDay; |
|
193 | 193 | } |
194 | 194 | |
195 | 195 | /** |
@@ -199,7 +199,7 @@ discard block |
||
199 | 199 | */ |
200 | 200 | public function setAllDay($allDay) |
201 | 201 | { |
202 | - $this->allDay = (bool) $allDay; |
|
202 | + $this->allDay = (bool)$allDay; |
|
203 | 203 | } |
204 | 204 | |
205 | 205 | /** |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * Configuration Interface for constants. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Calendarize\Domain\Model; |
9 | 9 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * Model Abstraction. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Calendarize\Domain\Model; |
9 | 9 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * Configuration group repository. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Calendarize\Domain\Repository; |
9 | 9 |
@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | /** |
4 | 4 | * Event repository. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Calendarize\Domain\Repository; |
9 | 9 | |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | |
33 | 33 | $ids = []; |
34 | 34 | foreach ($rows as $row) { |
35 | - $ids[] = (int) $row['uid']; |
|
35 | + $ids[] = (int)$row['uid']; |
|
36 | 36 | } |
37 | 37 | |
38 | 38 | return $ids; |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * Repository Abstraction. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Calendarize\Domain\Repository; |
9 | 9 |
@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | /** |
4 | 4 | * Index repository. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Calendarize\Domain\Repository; |
9 | 9 | |
@@ -289,7 +289,7 @@ discard block |
||
289 | 289 | */ |
290 | 290 | public function findWeek($year, $week, $weekStart = 1) |
291 | 291 | { |
292 | - $weekStart = (int) $weekStart; |
|
292 | + $weekStart = (int)$weekStart; |
|
293 | 293 | $daysShift = DateTimeUtility::SECONDS_DAY * ($weekStart - 1); |
294 | 294 | $firstDay = DateTimeUtility::convertWeekYear2DayMonthYear($week, $year); |
295 | 295 | $timezone = DateTimeUtility::getTimeZone(); |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * Configuration repository. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Calendarize\Domain\Repository; |
9 | 9 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * CalDav repository. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Calendarize\Domain\Repository; |
9 | 9 |