Passed
Push — master ( 8a3a32...be2bbf )
by Php Easy Api
02:24
created
src/resta/Console/Source/Project/Project.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     /**
15 15
      * @var $type
16 16
      */
17
-    public $type='project';
17
+    public $type = 'project';
18 18
 
19 19
     /**
20 20
      * @var array
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     /**
32 32
      * @var $commandRule
33 33
      */
34
-    public $commandRule=[];
34
+    public $commandRule = [];
35 35
 
36 36
     /**
37 37
      * @method create
@@ -45,15 +45,15 @@  discard block
 block discarded – undo
45 45
         $this->directory['projectDir']          = $this->projectPath();
46 46
         $this->directory['helpersDir']          = app()->path()->helpers();
47 47
 
48
-        $recursiveDefaultDirectory = explode("\\",$this->argument['project']);
48
+        $recursiveDefaultDirectory = explode("\\", $this->argument['project']);
49 49
         $this->argument['applicationName'] = pos($recursiveDefaultDirectory);
50 50
         $recursiveDefaultDirectory[] = 'V1';
51 51
         $recursiveDefaultDirectoryList = [];
52 52
 
53
-        foreach (array_slice($recursiveDefaultDirectory,1) as $defaultDirectory){
53
+        foreach (array_slice($recursiveDefaultDirectory, 1) as $defaultDirectory) {
54 54
 
55
-            $recursiveDefaultDirectoryList[]=$defaultDirectory;
56
-            $this->directory[$defaultDirectory.'Path'] = $this->projectPath().''.implode("/",$recursiveDefaultDirectoryList);
55
+            $recursiveDefaultDirectoryList[] = $defaultDirectory;
56
+            $this->directory[$defaultDirectory.'Path'] = $this->projectPath().''.implode("/", $recursiveDefaultDirectoryList);
57 57
         }
58 58
 
59 59
         //$this->directory['optionalDir'] = $this->optional();
Please login to merge, or discard this patch.