Completed
Push — master ( 6204b7...06c9dc )
by Vítor
03:05
created
src/App.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -381,7 +381,7 @@  discard block
 block discarded – undo
381 381
     public function getRootDir()
382 382
     {
383 383
         if (null === $this->rootDir) {
384
-            $this->rootDir = realpath(getcwd().'/app');
384
+            $this->rootDir = realpath(getcwd() . '/app');
385 385
         }
386 386
 
387 387
         return $this->rootDir;
@@ -470,7 +470,7 @@  discard block
 block discarded – undo
470 470
      */
471 471
     public function getCacheDir()
472 472
     {
473
-        return $this->rootDir.'/cache/'.$this->environment;
473
+        return $this->rootDir . '/cache/' . $this->environment;
474 474
     }
475 475
 
476 476
     /**
@@ -482,7 +482,7 @@  discard block
 block discarded – undo
482 482
      */
483 483
     public function getLogDir()
484 484
     {
485
-        return $this->rootDir.'/logs';
485
+        return $this->rootDir . '/logs';
486 486
     }
487 487
 
488 488
     /**
@@ -505,8 +505,8 @@  discard block
 block discarded – undo
505 505
     public function getConfigManager()
506 506
     {
507 507
         if (null === $this->configManager) {
508
-            $cachePath = $this->getCacheDir().'/application-config-cache.'.$this->getName().'.php';
509
-            $this->configManager = new ConfigManager($cachePath, !$this->debug, $this->rootDir.'/config');
508
+            $cachePath = $this->getCacheDir() . '/application-config-cache.' . $this->getName() . '.php';
509
+            $this->configManager = new ConfigManager($cachePath, !$this->debug, $this->rootDir . '/config');
510 510
         }
511 511
 
512 512
         return $this->configManager;
Please login to merge, or discard this patch.