@@ -116,7 +116,7 @@ |
||
| 116 | 116 | */ |
| 117 | 117 | protected function firePurgeEvent($event, $model_name, Model $model, $halt = true) |
| 118 | 118 | { |
| 119 | - $event = "garbageman.{$event}: " . $model_name; |
|
| 119 | + $event = "garbageman.{$event}: ".$model_name; |
|
| 120 | 120 | |
| 121 | 121 | $method = $halt ? 'until' : 'fire'; |
| 122 | 122 | |
@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | public function boot() |
| 21 | 21 | { |
| 22 | 22 | $this->publishes([ |
| 23 | - realpath(__DIR__ . '/config/garbageman.php') => config_path('garbageman.php'), |
|
| 23 | + realpath(__DIR__.'/config/garbageman.php') => config_path('garbageman.php'), |
|
| 24 | 24 | ], 'config'); |
| 25 | 25 | } |
| 26 | 26 | |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | */ |
| 32 | 32 | public function register() |
| 33 | 33 | { |
| 34 | - $this->app->singleton('command.garbageman.purge', function ($app) { |
|
| 34 | + $this->app->singleton('command.garbageman.purge', function($app) { |
|
| 35 | 35 | return $app->make(PurgeCommand::class); |
| 36 | 36 | }); |
| 37 | 37 | |