@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | */ |
62 | 62 | public function handle() |
63 | 63 | { |
64 | - $file = preg_split(' (/|\\\\) ', (string)$this->argument('name')) ?? []; |
|
64 | + $file = preg_split(' (/|\\\\) ', (string) $this->argument('name')) ?? []; |
|
65 | 65 | |
66 | 66 | if (!$file) { |
67 | 67 | return 'Something wrong with the inputs !'; |
@@ -279,7 +279,7 @@ discard block |
||
279 | 279 | $content = $filePath . $repoName . '.php'; |
280 | 280 | } |
281 | 281 | |
282 | - if(is_dir($filePath) && file_exists($content)){ |
|
282 | + if (is_dir($filePath) && file_exists($content)) { |
|
283 | 283 | |
284 | 284 | // Ask to replace exiting file |
285 | 285 | if ($this->confirm("This file, {$content} already exit, do you want to replace?")) { |