Completed
Push — master ( e40bc2...322bce )
by Songda
9s
created
src/ParsehtmlServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -26,11 +26,11 @@  discard block
 block discarded – undo
26 26
     {
27 27
         if (!file_exists(config_path('markdown.php'))) {
28 28
             $this->publishes([
29
-                dirname(__DIR__).'/config/markdown.php' => config_path('markdown.php'),
29
+                dirname(__DIR__) . '/config/markdown.php' => config_path('markdown.php'),
30 30
             ], 'config');
31 31
         }
32 32
 
33
-        Blade::directive('parsehtml', function ($expression) {
33
+        Blade::directive('parsehtml', function($expression) {
34 34
             return "<?php echo parsehtml($expression); ?>";
35 35
         });
36 36
     }
@@ -42,9 +42,9 @@  discard block
 block discarded – undo
42 42
      */
43 43
     public function register()
44 44
     {
45
-        $this->mergeConfigFrom(dirname(__DIR__).'/config/markdown.php', 'markdown');
45
+        $this->mergeConfigFrom(dirname(__DIR__) . '/config/markdown.php', 'markdown');
46 46
 
47
-        $this->app->singleton(HtmlConverter::class, function ($app) {
47
+        $this->app->singleton(HtmlConverter::class, function($app) {
48 48
             return new HtmlConverter(config('markdown.parsehtml'));
49 49
         });
50 50
 
@@ -58,6 +58,6 @@  discard block
 block discarded – undo
58 58
      */
59 59
     public function provides()
60 60
     {
61
-        return [HtmlConverter::class, 'parsehtml'];
61
+        return [ HtmlConverter::class, 'parsehtml' ];
62 62
     }
63 63
 }
Please login to merge, or discard this patch.