@@ -93,7 +93,7 @@ |
||
93 | 93 | { |
94 | 94 | $this->firstDay = $this->defineFirstDayOfWeek($firstDay); |
95 | 95 | $monthsInYear = $this->cE->getMonthsInYear($this->thisYear()); |
96 | - for ($i=1; $i <= $monthsInYear; $i++) { |
|
96 | + for ($i = 1; $i <= $monthsInYear; $i++) { |
|
97 | 97 | $this->children[$i] = Factory::create('Month', $this->year, $i); |
98 | 98 | } |
99 | 99 | if (count($sDates) > 0) { |
@@ -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() |