@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | $internal_loader = |
| 73 | 73 | new PhpFileLoader( |
| 74 | 74 | $container, |
| 75 | - new FileLocator(__DIR__ . '/../../config') |
|
| 75 | + new FileLocator(__DIR__.'/../../config') |
|
| 76 | 76 | ); |
| 77 | 77 | |
| 78 | 78 | $personal_loader = |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | protected function loadEnvironment(): void |
| 94 | 94 | { |
| 95 | 95 | (new Dotenv())->populate(['APP_ENV' => $this->getEnvironment()]); |
| 96 | - (new Dotenv())->loadEnv($this->getProjectDir() . '/.env'); |
|
| 96 | + (new Dotenv())->loadEnv($this->getProjectDir().'/.env'); |
|
| 97 | 97 | } |
| 98 | 98 | |
| 99 | 99 | protected function initiateProjectDir(): string |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | } |
| 113 | 113 | |
| 114 | 114 | $dir = $root_dir = \dirname($dir); |
| 115 | - while (!file_exists($dir . '/composer.lock')) { |
|
| 115 | + while (!file_exists($dir.'/composer.lock')) { |
|
| 116 | 116 | if ($dir === \dirname($dir)) { |
| 117 | 117 | return $root_dir; |
| 118 | 118 | } |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | |
| 131 | 131 | public function getConfigDir(): string |
| 132 | 132 | { |
| 133 | - return $this->project_dir . '/config'; |
|
| 133 | + return $this->project_dir.'/config'; |
|
| 134 | 134 | } |
| 135 | 135 | |
| 136 | 136 | public function getEnvironment(): string |