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