@@ -78,7 +78,7 @@ |
||
| 78 | 78 | | |
| 79 | 79 | | AOP will check this list to disable AOP for selected directories |
| 80 | 80 | */ |
| 81 | - 'excludePaths' => [], |
|
| 81 | + 'excludePaths' => [ ], |
|
| 82 | 82 | |
| 83 | 83 | /* |
| 84 | 84 | |-------------------------------------------------------------------------- |
@@ -45,17 +45,17 @@ discard block |
||
| 45 | 45 | */ |
| 46 | 46 | public function register() |
| 47 | 47 | { |
| 48 | - $this->publishes([$this->configPath() => config_path('go_aop.php')]); |
|
| 48 | + $this->publishes([ $this->configPath() => config_path('go_aop.php') ]); |
|
| 49 | 49 | $this->mergeConfigFrom($this->configPath(), 'go_aop'); |
| 50 | 50 | |
| 51 | - $this->app->singleton(AspectKernel::class, function () { |
|
| 51 | + $this->app->singleton(AspectKernel::class, function() { |
|
| 52 | 52 | $aspectKernel = AspectLaravelKernel::getInstance(); |
| 53 | 53 | $aspectKernel->init(config('go_aop')); |
| 54 | 54 | |
| 55 | 55 | return $aspectKernel; |
| 56 | 56 | }); |
| 57 | 57 | |
| 58 | - $this->app->singleton(AspectContainer::class, function (Application $app) { |
|
| 58 | + $this->app->singleton(AspectContainer::class, function(Application $app) { |
|
| 59 | 59 | /** @var AspectKernel $kernel */ |
| 60 | 60 | $kernel = $app->make(AspectKernel::class); |
| 61 | 61 | |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | */ |
| 69 | 69 | public function provides() |
| 70 | 70 | { |
| 71 | - return [AspectKernel::class, AspectContainer::class]; |
|
| 71 | + return [ AspectKernel::class, AspectContainer::class ]; |
|
| 72 | 72 | } |
| 73 | 73 | |
| 74 | 74 | /** |
@@ -78,6 +78,6 @@ discard block |
||
| 78 | 78 | */ |
| 79 | 79 | private function configPath() |
| 80 | 80 | { |
| 81 | - return __DIR__ . '/../config/go_aop.php'; |
|
| 81 | + return __DIR__.'/../config/go_aop.php'; |
|
| 82 | 82 | } |
| 83 | 83 | } |