@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | { |
26 | 26 | $path = static::path($filename); |
27 | 27 | |
28 | - if (! file_exists($path)) { |
|
28 | + if (!file_exists($path)) { |
|
29 | 29 | return $default; |
30 | 30 | } |
31 | 31 | |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | { |
38 | 38 | $path = static::path(basename($filename, '.md').'.md'); |
39 | 39 | |
40 | - if (! file_exists($path)) { |
|
40 | + if (!file_exists($path)) { |
|
41 | 41 | return $default === null ? null : Markdown::parse($default); |
42 | 42 | } |
43 | 43 | |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | { |
50 | 50 | $path = static::path(basename($filename, '.blade.php').'.blade.php'); |
51 | 51 | |
52 | - if (! file_exists($path)) { |
|
52 | + if (!file_exists($path)) { |
|
53 | 53 | return $default === null ? null : Blade::render($default); |
54 | 54 | } |
55 | 55 | |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | |
59 | 59 | protected static function needsDirectory(string $directory): void |
60 | 60 | { |
61 | - if (! file_exists($directory)) { |
|
61 | + if (!file_exists($directory)) { |
|
62 | 62 | mkdir($directory, recursive: true); |
63 | 63 | } |
64 | 64 | } |
@@ -8,7 +8,7 @@ |
||
8 | 8 | { |
9 | 9 | public function register(): void |
10 | 10 | { |
11 | - $this->app->singleton(MarkdownConverter::class, function () { |
|
11 | + $this->app->singleton(MarkdownConverter::class, function() { |
|
12 | 12 | return new MarkdownConverter(); |
13 | 13 | }); |
14 | 14 | } |
@@ -49,7 +49,7 @@ |
||
49 | 49 | |
50 | 50 | public function processInput(): static |
51 | 51 | { |
52 | - $this->output = implode("\n", array_map(function ($line) { |
|
52 | + $this->output = implode("\n", array_map(function($line) { |
|
53 | 53 | return $this->expandShortcode($line); |
54 | 54 | }, explode("\n", $this->input))); |
55 | 55 |