@@ -207,7 +207,7 @@ discard block |
||
| 207 | 207 | 'hasPosition', |
| 208 | 208 | 'hasRevisions', |
| 209 | 209 | 'hasNesting', |
| 210 | - ])->filter(function ($enabled) { |
|
| 210 | + ])->filter(function($enabled) { |
|
| 211 | 211 | return $enabled; |
| 212 | 212 | }); |
| 213 | 213 | |
@@ -615,7 +615,7 @@ discard block |
||
| 615 | 615 | |
| 616 | 616 | $this->info("Form view created successfully! Include your form fields using @formField directives!"); |
| 617 | 617 | |
| 618 | - if($this->confirm("Do you also want to generate the preview file?")) { |
|
| 618 | + if ($this->confirm("Do you also want to generate the preview file?")) { |
|
| 619 | 619 | $previewViewsPath = $this->previewViewPath(); |
| 620 | 620 | twill_put_stub($previewViewsPath . '/' . Str::singular($moduleName) . '.blade.php', $this->files->get(__DIR__ . '/stubs/preview_module.blade.stub')); |
| 621 | 621 | } |
@@ -847,7 +847,7 @@ discard block |
||
| 847 | 847 | $start = "{$delimiters[0]}{$key}{$delimiters[1]}"; |
| 848 | 848 | $end = "{$delimiters[0]}\/{$key}{$delimiters[1]}"; |
| 849 | 849 | |
| 850 | - if ((bool)$value) { |
|
| 850 | + if ((bool) $value) { |
|
| 851 | 851 | // replace delimiters only |
| 852 | 852 | $stub = preg_replace("/$start/", '', $stub); |
| 853 | 853 | $stub = preg_replace("/$end/", '', $stub); |