@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | if ( |
| 130 | 130 | (is_int($datetype) && $datetype !== \IntlDateFormatter::NONE) || |
| 131 | 131 | (is_int($timetype) && $timetype !== \IntlDateFormatter::NONE) |
| 132 | - ){ |
|
| 132 | + ) { |
|
| 133 | 133 | $pattern = \IntlDateFormatter::create( |
| 134 | 134 | \Locale::getDefault(), |
| 135 | 135 | is_int($datetype) ? $datetype : \IntlDateFormatter::NONE, |
@@ -194,7 +194,7 @@ discard block |
||
| 194 | 194 | * @param string $calendar 'gregorian' or 'traditional' |
| 195 | 195 | * @return string |
| 196 | 196 | */ |
| 197 | - public function localTime($date, $format='short', $calendar='gregorian') |
|
| 197 | + public function localTime($date, $format = 'short', $calendar = 'gregorian') |
|
| 198 | 198 | { |
| 199 | 199 | return $this->formatLocal($date, false, $format, $calendar); |
| 200 | 200 | } |
@@ -129,7 +129,7 @@ |
||
| 129 | 129 | if ( |
| 130 | 130 | (is_int($datetype) && $datetype !== \IntlDateFormatter::NONE) || |
| 131 | 131 | (is_int($timetype) && $timetype !== \IntlDateFormatter::NONE) |
| 132 | - ){ |
|
| 132 | + ) { |
|
| 133 | 133 | $pattern = \IntlDateFormatter::create( |
| 134 | 134 | \Locale::getDefault(), |
| 135 | 135 | is_int($datetype) ? $datetype : \IntlDateFormatter::NONE, |