Passed
Pull Request — master (#53)
by
unknown
03:19
created
src/Timezone.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
         $formatted_date_time = $date->format($format);
31 31
 
32 32
         if ($format_timezone) {
33
-            return $formatted_date_time.' '.$this->formatTimezone($date);
33
+            return $formatted_date_time . ' ' . $this->formatTimezone($date);
34 34
         }
35 35
 
36 36
         return $formatted_date_time;
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
         $parts = explode('/', $timezone);
57 57
 
58 58
         if (count($parts) > 1) {
59
-            return str_replace('_', ' ', $parts[1]).', '.$parts[0];
59
+            return str_replace('_', ' ', $parts[1]) . ', ' . $parts[0];
60 60
         }
61 61
 
62 62
         return str_replace('_', ' ', $parts[0]);
Please login to merge, or discard this patch.