Passed
Pull Request — master (#1)
by tsms
01:57 queued 25s
created
Calendar/Month/Weeks.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
      *
101 101
      * @access public
102 102
      */
103
-    function __construct($y, $m, $firstDay=null)
103
+    function __construct($y, $m, $firstDay = null)
104 104
     {
105 105
         parent::__construct($y, $m, $firstDay);
106 106
     }
@@ -120,8 +120,8 @@  discard block
 block discarded – undo
120 120
         $this->tableHelper = new Calendar_Table_Helper($this, $this->firstDay);
121 121
         include_once CALENDAR_ROOT.'Week.php';
122 122
         $numWeeks = $this->tableHelper->getNumWeeks();
123
-        for ($i=1, $d=1; $i<=$numWeeks; $i++,
124
-            $d+=$this->cE->getDaysInWeek(
123
+        for ($i = 1, $d = 1; $i <= $numWeeks; $i++,
124
+            $d += $this->cE->getDaysInWeek(
125 125
                 $this->thisYear(),
126 126
                 $this->thisMonth(),
127 127
                 $this->thisDay()
Please login to merge, or discard this patch.