@@ -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 !'; |
@@ -276,7 +276,7 @@ discard block |
||
| 276 | 276 | $content = $filePath . $repoName . '.php'; |
| 277 | 277 | } |
| 278 | 278 | |
| 279 | - if(is_dir($filePath) && file_exists($content)){ |
|
| 279 | + if (is_dir($filePath) && file_exists($content)) { |
|
| 280 | 280 | $this->info($content . ' File Already Exists'); |
| 281 | 281 | |
| 282 | 282 | return false; |