@@ -100,7 +100,7 @@ discard block |
||
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 |
||
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() |