Completed
Pull Request — master (#94)
by Koen
11:19
created
src/PurifierServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     {
34 34
         $source = realpath(__DIR__.'/../config/purifier.php');
35 35
         if ($this->app instanceof LaravelApplication && $this->app->runningInConsole()) {
36
-            $this->publishes([$source => config_path('purifier.php')]);
36
+            $this->publishes([ $source => config_path('purifier.php') ]);
37 37
         } elseif ($this->app instanceof LumenApplication) {
38 38
             $this->app->configure('purifier');
39 39
         }
@@ -50,8 +50,8 @@  discard block
 block discarded – undo
50 50
     {
51 51
         $this->setupConfig();
52 52
         
53
-        $this->app->singleton('purifier', function (Container $app) {
54
-            return new Purifier($app['files'], $app['config']);
53
+        $this->app->singleton('purifier', function(Container $app) {
54
+            return new Purifier($app[ 'files' ], $app[ 'config' ]);
55 55
         });
56 56
 
57 57
         $this->app->alias('purifier', Purifier::class);
@@ -64,6 +64,6 @@  discard block
 block discarded – undo
64 64
      */
65 65
     public function provides()
66 66
     {
67
-        return ['purifier'];
67
+        return [ 'purifier' ];
68 68
     }
69 69
 }
Please login to merge, or discard this patch.