Passed
Push — master ( be2bbf...36ed8d )
by Php Easy Api
02:32
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
@@ -44,15 +44,15 @@  discard block
 block discarded – undo
44 44
         $this->argument['factoryDir']           = app()->namespace()->factory();
45 45
         $this->directory['projectDir']          = $this->projectPath();
46 46
 
47
-        $recursiveDefaultDirectory = explode("\\",$this->argument['project']);
47
+        $recursiveDefaultDirectory = explode("\\", $this->argument['project']);
48 48
         $this->argument['applicationName'] = pos($recursiveDefaultDirectory);
49 49
         $recursiveDefaultDirectory[] = 'V1';
50 50
         $recursiveDefaultDirectoryList = [];
51 51
 
52
-        foreach (array_slice($recursiveDefaultDirectory,1) as $defaultDirectory){
52
+        foreach (array_slice($recursiveDefaultDirectory, 1) as $defaultDirectory) {
53 53
 
54
-            $recursiveDefaultDirectoryList[]=$defaultDirectory;
55
-            $this->directory[$defaultDirectory.'Path'] = $this->projectPath().''.implode("/",$recursiveDefaultDirectoryList);
54
+            $recursiveDefaultDirectoryList[] = $defaultDirectory;
55
+            $this->directory[$defaultDirectory.'Path'] = $this->projectPath().''.implode("/", $recursiveDefaultDirectoryList);
56 56
         }
57 57
 
58 58
         //$this->directory['optionalDir'] = $this->optional();
Please login to merge, or discard this patch.