@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | { |
| 22 | 22 | $this->publishes( |
| 23 | 23 | [ |
| 24 | - realpath(__DIR__ . '/config/garbageman.php') => config_path('garbageman.php'), |
|
| 24 | + realpath(__DIR__.'/config/garbageman.php') => config_path('garbageman.php'), |
|
| 25 | 25 | ], |
| 26 | 26 | 'config' |
| 27 | 27 | ); |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | { |
| 37 | 37 | $this->app->singleton( |
| 38 | 38 | 'command.garbageman.purge', |
| 39 | - function ($app) { |
|
| 39 | + function($app) { |
|
| 40 | 40 | return $app->make(PurgeCommand::class); |
| 41 | 41 | } |
| 42 | 42 | ); |
@@ -116,7 +116,7 @@ |
||
| 116 | 116 | */ |
| 117 | 117 | protected function dispatchPurgeEvent($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' : 'dispatch'; |
| 122 | 122 | |