Passed
Push — master ( 4ce096...559e6c )
by Songda
03:23 queued 02:05
created
src/ParsehtmlServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -28,13 +28,13 @@  discard block
 block discarded – undo
28 28
     {
29 29
         if ($this->app instanceof LaravelApplication && $this->app->runningInConsole()) {
30 30
             $this->publishes([
31
-                dirname(__DIR__).'/config/markdown.php' => config_path('markdown.php'),
31
+                dirname(__DIR__) . '/config/markdown.php' => config_path('markdown.php'),
32 32
             ], 'laravel-html-config');
33 33
         } elseif ($this->app instanceof LumenApplication) {
34 34
             $this->app->configure('markdown');
35 35
         }
36 36
 
37
-        Blade::directive('parsehtml', function ($expression) {
37
+        Blade::directive('parsehtml', function($expression) {
38 38
             return "<?php echo parsehtml($expression); ?>";
39 39
         });
40 40
     }
@@ -46,9 +46,9 @@  discard block
 block discarded – undo
46 46
      */
47 47
     public function register()
48 48
     {
49
-        $this->mergeConfigFrom(dirname(__DIR__).'/config/markdown.php', 'markdown');
49
+        $this->mergeConfigFrom(dirname(__DIR__) . '/config/markdown.php', 'markdown');
50 50
 
51
-        $this->app->singleton(HtmlConverter::class, function ($app) {
51
+        $this->app->singleton(HtmlConverter::class, function($app) {
52 52
             return new HtmlConverter(config('markdown.parsehtml'));
53 53
         });
54 54
 
@@ -62,6 +62,6 @@  discard block
 block discarded – undo
62 62
      */
63 63
     public function provides()
64 64
     {
65
-        return [HtmlConverter::class, 'parsehtml'];
65
+        return [ HtmlConverter::class, 'parsehtml' ];
66 66
     }
67 67
 }
Please login to merge, or discard this patch.