@@ -22,7 +22,7 @@ |
||
| 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'; |
@@ -31,7 +31,7 @@ |
||
| 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); |