Completed
Push — master ( 3444d0...2c4de3 )
by Andrii
12:14
created
src/components/Directory.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     {
23 23
         FileHelper::mkdir($this->_path);
24 24
 
25
-       foreach ($this->getItems() as $id => $config) {
25
+        foreach ($this->getItems() as $id => $config) {
26 26
             $type = 'Directory';
27 27
             if (isset($config['template']) || isset($config['copy'])) {
28 28
                 $type = 'File';
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
             }
32 32
             $defaults = [
33 33
                 'class' => "hidev\\components\\$type",
34
-                'path' => $this->_path . '/' . $id,
34
+                'path' => $this->_path.'/'.$id,
35 35
             ];
36 36
             $config = array_merge($defaults, $config ?: []);
37 37
             $object = Yii::createObject($config);
Please login to merge, or discard this patch.