@@ -31,7 +31,7 @@ |
||
31 | 31 | private function getConfigurations(Model $model) |
32 | 32 | { |
33 | 33 | $modelConfigurations = method_exists($model, 'blameable') ? |
34 | - $model->blameable() : []; |
|
34 | + $model->blameable() : [ ]; |
|
35 | 35 | |
36 | 36 | return array_merge($this->globalConfig, $modelConfigurations); |
37 | 37 | } |
@@ -27,11 +27,11 @@ |
||
27 | 27 | { |
28 | 28 | $this->mergeConfigFrom(realpath(__DIR__.'/../config/blameable.php'), 'blameable'); |
29 | 29 | |
30 | - $this->app->singleton(BlameableObserver::class, function () { |
|
30 | + $this->app->singleton(BlameableObserver::class, function() { |
|
31 | 31 | return new BlameableObserver(); |
32 | 32 | }); |
33 | 33 | |
34 | - $this->app->singleton(BlameableService::class, function () { |
|
34 | + $this->app->singleton(BlameableService::class, function() { |
|
35 | 35 | return new BlameableService(); |
36 | 36 | }); |
37 | 37 | } |