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