Passed
Pull Request — master (#4)
by
unknown
02:54
created
src/Commands/Generator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.