Passed
Push — master ( 014f51...98f41c )
by James
02:29
created
src/LaravelTimezoneServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     public function boot()
27 27
     {
28 28
         // Allow migrations publish
29
-        if (! class_exists('AddTimezoneColumnToUsersTable')) {
29
+        if (!class_exists('AddTimezoneColumnToUsersTable')) {
30 30
             $this->publishes([
31 31
                 __DIR__ . '/database/migrations/add_timezone_column_to_users_table.php.stub' => database_path('/migrations/' . date('Y_m_d_His') . '_add_timezone_column_to_users_table.php'),
32 32
             ], 'migrations');
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         // Register a blade directive to show user date/time in their timezone
47 47
         Blade::directive(
48 48
             'displayDate',
49
-            function ($expression) {
49
+            function($expression) {
50 50
                 $options = explode(',', $expression);
51 51
 
52 52
                 if (count($options) == 1) {
Please login to merge, or discard this patch.
src/Listeners/Auth/UpdateUsersTimezone.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 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.