@@ -26,7 +26,7 @@ discard block |
||
| 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 |
||
| 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) { |