@@ -32,12 +32,12 @@ discard block |
||
32 | 32 | $this->registerBindings(); |
33 | 33 | $this->registerFacade(); |
34 | 34 | |
35 | - $this->app['events']->listen( |
|
35 | + $this->app[ 'events' ]->listen( |
|
36 | 36 | BuildingSidebar::class, |
37 | 37 | $this->getSidebarClassForModule('block', RegisterBlockSidebar::class) |
38 | 38 | ); |
39 | 39 | |
40 | - $this->app['events']->listen(LoadingBackendTranslations::class, function (LoadingBackendTranslations $event) { |
|
40 | + $this->app[ 'events' ]->listen(LoadingBackendTranslations::class, function(LoadingBackendTranslations $event) { |
|
41 | 41 | $event->load('blocks', array_dot(trans('block::blocks'))); |
42 | 42 | }); |
43 | 43 | } |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | { |
47 | 47 | $this->publishConfig('block', 'permissions'); |
48 | 48 | $this->publishConfig('block', 'config'); |
49 | - $this->loadMigrationsFrom(__DIR__ . '/../Database/Migrations'); |
|
49 | + $this->loadMigrationsFrom(__DIR__.'/../Database/Migrations'); |
|
50 | 50 | } |
51 | 51 | |
52 | 52 | /** |
@@ -62,10 +62,10 @@ discard block |
||
62 | 62 | { |
63 | 63 | $this->app->bind( |
64 | 64 | 'Modules\Block\Repositories\BlockRepository', |
65 | - function () { |
|
65 | + function() { |
|
66 | 66 | $repository = new EloquentBlockRepository(new Block()); |
67 | 67 | |
68 | - if (! config('app.cache')) { |
|
68 | + if (!config('app.cache')) { |
|
69 | 69 | return $repository; |
70 | 70 | } |
71 | 71 |