Completed
Pull Request — master (#94)
by Koen
10:22
created
src/PurifierServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
         $source = $this->getConfigSource();
25 25
         
26 26
         if ($this->app instanceof LaravelApplication && $this->app->runningInConsole()) {
27
-            $this->publishes([$source => config_path('purifier.php')]);
27
+            $this->publishes([ $source => config_path('purifier.php') ]);
28 28
         } elseif ($this->app instanceof LumenApplication) {
29 29
             $this->app->configure('purifier');
30 30
         }
@@ -58,8 +58,8 @@  discard block
 block discarded – undo
58 58
     {
59 59
         $this->setupConfig();
60 60
         
61
-        $this->app->singleton('purifier', function (Container $app) {
62
-            return new Purifier($app['files'], $app['config']);
61
+        $this->app->singleton('purifier', function(Container $app) {
62
+            return new Purifier($app[ 'files' ], $app[ 'config' ]);
63 63
         });
64 64
 
65 65
         $this->app->alias('purifier', Purifier::class);
@@ -72,6 +72,6 @@  discard block
 block discarded – undo
72 72
      */
73 73
     public function provides()
74 74
     {
75
-        return ['purifier'];
75
+        return [ 'purifier' ];
76 76
     }
77 77
 }
Please login to merge, or discard this patch.