@@ -42,8 +42,7 @@ |
||
| 42 | 42 | $this->date = $date; |
| 43 | 43 | if ($this->getDay()) { |
| 44 | 44 | $this->dateFormatted = $this->getYear() .'-'. $this->getMonth() .'-'. substr("0{$this->getDay()}", -2); |
| 45 | - } |
|
| 46 | - else { |
|
| 45 | + } else { |
|
| 47 | 46 | $this->month = $this->getMonth(); |
| 48 | 47 | $this->year = $this->getYear(); |
| 49 | 48 | } |
@@ -42,8 +42,7 @@ |
||
| 42 | 42 | $this->date = $date; |
| 43 | 43 | if ($this->getDay()) { |
| 44 | 44 | $this->dateFormatted = $this->getYear() .'-'. $this->getMonth() .'-'. substr("0{$this->getDay()}", -2); |
| 45 | - } |
|
| 46 | - else { |
|
| 45 | + } else { |
|
| 47 | 46 | $this->month = $this->getMonth(); |
| 48 | 47 | $this->year = $this->getYear(); |
| 49 | 48 | } |
@@ -42,8 +42,7 @@ |
||
| 42 | 42 | $this->date = $date; |
| 43 | 43 | if ($this->getDay()) { |
| 44 | 44 | $this->dateFormatted = $this->getYear() .'-'. $this->getMonth() .'-'. substr("0{$this->getDay()}", -2); |
| 45 | - } |
|
| 46 | - else { |
|
| 45 | + } else { |
|
| 47 | 46 | $this->month = $this->getMonth(); |
| 48 | 47 | $this->year = $this->getYear(); |
| 49 | 48 | } |