Passed
Branch master (e4dc66)
by Songda
02:04
created
Category
src/ParsedownServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      */
25 25
     public function boot()
26 26
     {
27
-        Blade::directive('parsedown', function ($expression) {
27
+        Blade::directive('parsedown', function($expression) {
28 28
             return "<?php echo parsedown($expression); ?>";
29 29
         });
30 30
     }
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      */
37 37
     public function register()
38 38
     {
39
-        $this->app->singleton(Parsedown::class, function ($app) {
39
+        $this->app->singleton(Parsedown::class, function($app) {
40 40
             return new Parsedown();
41 41
         });
42 42
 
@@ -50,6 +50,6 @@  discard block
 block discarded – undo
50 50
      */
51 51
     public function provides()
52 52
     {
53
-        return [Parsedown::class, 'parsedown'];
53
+        return [ Parsedown::class, 'parsedown' ];
54 54
     }
55 55
 }
Please login to merge, or discard this patch.
src/helpers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (! function_exists('parsedown')) {
3
+if (!function_exists('parsedown')) {
4 4
     /**
5 5
      * convert markdown to html
6 6
      *
Please login to merge, or discard this patch.