Completed
Push — master ( 62a1f2...34861a )
by Nicolas
9s
created
Providers/BlockServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -32,12 +32,12 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.