Failed Conditions
Push — master ( 05acd6...202119 )
by Arnold
07:31
created
src/DateExtension.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.