Passed
Pull Request — master (#4)
by Mike
03:21
created
src/ParsedownServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
         ) {
32 32
             $this->publishes(
33 33
                 [
34
-                    __DIR__ . '/config/markdown.php' => config_path('markdown.php'),
34
+                    __DIR__.'/config/markdown.php' => config_path('markdown.php'),
35 35
                 ],
36 36
                 'laravel-parsedown-config'
37 37
             );
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
             $this->app->configure('markdown');
40 40
         }
41 41
 
42
-        Blade::directive('parsedown', function ($expression) {
42
+        Blade::directive('parsedown', function($expression) {
43 43
             return "<?php echo parsedown($expression); ?>";
44 44
         });
45 45
     }
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     {
54 54
         $this->mergeConfigFrom(dirname(__DIR__).'/config/markdown.php', 'markdown');
55 55
 
56
-        $this->app->singleton(Parsedown::class, function () {
56
+        $this->app->singleton(Parsedown::class, function() {
57 57
             return Parsedown::instance()->setSafeMode(config('markdown.parsedown.safeMode'))
58 58
                 ->setBreaksEnabled(config('markdown.parsedown.breaksEnabled'))
59 59
                 ->setMarkupEscaped(config('markdown.parsedown.markupEscaped'))
@@ -70,6 +70,6 @@  discard block
 block discarded – undo
70 70
      */
71 71
     public function provides()
72 72
     {
73
-        return [Parsedown::class, 'parsedown'];
73
+        return [ Parsedown::class, 'parsedown' ];
74 74
     }
75 75
 }
Please login to merge, or discard this patch.