Completed
Push — master ( 683412...62f786 )
by Andrii
05:32 queued 02:41
created
src/controllers/StartController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -79,8 +79,8 @@  discard block
 block discarded – undo
79 79
         Yii::setAlias('@root', $this->getRootDir());
80 80
         $config = $this->takeConfig()->rawItem('package');
81 81
         $alias  = strtr($config['namespace'], '\\', '/');
82
-        if ($alias && !Yii::getAlias('@' . $alias, false)) {
83
-            $srcdir = Yii::getAlias('@root/' . ($config['src'] ?: 'src'));
82
+        if ($alias && !Yii::getAlias('@'.$alias, false)) {
83
+            $srcdir = Yii::getAlias('@root/'.($config['src'] ?: 'src'));
84 84
             Yii::setAlias($alias, $srcdir);
85 85
         }
86 86
         $aliases = $this->takeConfig()->rawItem('aliases');
@@ -213,6 +213,6 @@  discard block
 block discarded – undo
213 213
 
214 214
     public function buildRootPath($subpath)
215 215
     {
216
-        return $this->getRootDir() . DIRECTORY_SEPARATOR . $subpath;
216
+        return $this->getRootDir().DIRECTORY_SEPARATOR.$subpath;
217 217
     }
218 218
 }
Please login to merge, or discard this patch.