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