Completed
Pull Request — master (#220)
by
unknown
07:54
created
Classes/ViewHelpers/Link/MonthViewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Classes/ViewHelpers/IfDateLowerViewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Classes/ViewHelpers/TitleTagViewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Classes/ViewHelpers/Loop/DaysInWeekViewHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.
Classes/ViewHelpers/Loop/DaysInMonthViewHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.
Classes/ViewHelpers/Loop/AbstractLoopViewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Classes/ViewHelpers/Loop/WeeksInMonthViewHelper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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,
Please login to merge, or discard this patch.
Classes/ViewHelpers/DateTime/ModifyViewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Classes/ViewHelpers/DateTime/IndexOnDayViewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.