@@ -24,7 +24,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 50 | 50 | */ |
| 51 | 51 | public function provides() |
| 52 | 52 | { |
| 53 | - return [Parsedown::class, 'parsedown']; |
|
| 53 | + return [ Parsedown::class, 'parsedown' ]; |
|
| 54 | 54 | } |
| 55 | 55 | } |
@@ -1,6 +1,6 @@ |
||
| 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 | * |