@@ -127,7 +127,7 @@ |
||
| 127 | 127 | */ |
| 128 | 128 | public function cannot($permissions) |
| 129 | 129 | { |
| 130 | - return ! $this->can($permissions); |
|
| 130 | + return !$this->can($permissions); |
|
| 131 | 131 | } |
| 132 | 132 | |
| 133 | 133 | /** |
@@ -20,18 +20,18 @@ |
||
| 20 | 20 | public function boot() |
| 21 | 21 | { |
| 22 | 22 | $this->publishes([ |
| 23 | - __DIR__ . '/assets/config.php' => config_path('rooles.php'), |
|
| 23 | + __DIR__.'/assets/config.php' => config_path('rooles.php'), |
|
| 24 | 24 | ], 'config'); |
| 25 | 25 | |
| 26 | 26 | $this->publishes([ |
| 27 | - __DIR__ . '/assets/views/403.blade.php' => base_path('resources/views/errors/403.blade.php'), |
|
| 27 | + __DIR__.'/assets/views/403.blade.php' => base_path('resources/views/errors/403.blade.php'), |
|
| 28 | 28 | ], 'views'); |
| 29 | 29 | |
| 30 | 30 | $this->publishes([ |
| 31 | - __DIR__ . '/assets/migration.php' => database_path('migrations/' . date('Y_m_d_His_') . 'add_role_column_to_user_table.php') |
|
| 31 | + __DIR__.'/assets/migration.php' => database_path('migrations/'.date('Y_m_d_His_').'add_role_column_to_user_table.php') |
|
| 32 | 32 | ], 'migrations'); |
| 33 | 33 | |
| 34 | - $this->mergeConfigFrom(__DIR__ . '/assets/config.php', 'rooles'); |
|
| 34 | + $this->mergeConfigFrom(__DIR__.'/assets/config.php', 'rooles'); |
|
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | /** |