Completed
Push — master ( b66ad8...f46304 )
by MeWebStudio - Muharrem
10s
created
src/PurifierServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     public function boot()
23 23
     {
24 24
         if ($this->app instanceof LaravelApplication) {
25
-            $this->publishes([$this->getConfigSource() => config_path('purifier.php')]);
25
+            $this->publishes([ $this->getConfigSource() => config_path('purifier.php') ]);
26 26
         } elseif ($this->app instanceof LumenApplication) {
27 27
             $this->app->configure('purifier');
28 28
         }
@@ -47,8 +47,8 @@  discard block
 block discarded – undo
47 47
     {
48 48
         $this->mergeConfigFrom($this->getConfigSource(), 'purifier');
49 49
         
50
-        $this->app->singleton('purifier', function (Container $app) {
51
-            return new Purifier($app['files'], $app['config']);
50
+        $this->app->singleton('purifier', function(Container $app) {
51
+            return new Purifier($app[ 'files' ], $app[ 'config' ]);
52 52
         });
53 53
 
54 54
         $this->app->alias('purifier', Purifier::class);
@@ -61,6 +61,6 @@  discard block
 block discarded – undo
61 61
      */
62 62
     public function provides()
63 63
     {
64
-        return ['purifier'];
64
+        return [ 'purifier' ];
65 65
     }
66 66
 }
Please login to merge, or discard this patch.