Passed
Pull Request — master (#36)
by
unknown
07:37
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.
src/Listeners/Auth/UpdateUsersTimezone.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
             return;
70 70
         }
71 71
 
72
-        $message = 'We have set your timezone to '.$geoip_info['timezone'];
72
+        $message = 'We have set your timezone to ' . $geoip_info['timezone'];
73 73
 
74 74
         if (config('timezone.flash') == 'laravel') {
75 75
             request()->session()->flash('success', $message);
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
         $value = null;
135 135
 
136 136
         foreach ($keys as $key) {
137
-            if (! request()->$type->has($key)) {
137
+            if (!request()->$type->has($key)) {
138 138
                 continue;
139 139
             }
140 140
             $value = request()->$type->get($key);
Please login to merge, or discard this patch.