Passed
Pull Request — master (#2)
by tsms
01:29
created
src/Month/Weeks.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
      *
88 88
      * @access public
89 89
      */
90
-    function __construct($y, $m, $firstDay=null)
90
+    function __construct($y, $m, $firstDay = null)
91 91
     {
92 92
         parent::__construct($y, $m, $firstDay);
93 93
     }
@@ -105,8 +105,8 @@  discard block
 block discarded – undo
105 105
     {
106 106
         $this->tableHelper = new Helper($this, $this->firstDay);
107 107
         $numWeeks = $this->tableHelper->getNumWeeks();
108
-        for ($i=1, $d=1; $i<=$numWeeks; $i++,
109
-            $d+=$this->cE->getDaysInWeek(
108
+        for ($i = 1, $d = 1; $i <= $numWeeks; $i++,
109
+            $d += $this->cE->getDaysInWeek(
110 110
                 $this->thisYear(),
111 111
                 $this->thisMonth(),
112 112
                 $this->thisDay()
Please login to merge, or discard this patch.