@@ -64,7 +64,7 @@ |
||
| 64 | 64 | realpath($this->baseDirectory . $this->envFilename) |
| 65 | 65 | ]; |
| 66 | 66 | |
| 67 | - return array_filter($paths, function ($item) { |
|
| 67 | + return array_filter($paths, function($item) { |
|
| 68 | 68 | return is_string($item); |
| 69 | 69 | }); |
| 70 | 70 | } |
@@ -62,9 +62,9 @@ |
||
| 62 | 62 | { |
| 63 | 63 | $result = preg_replace_callback( |
| 64 | 64 | '/(\${(?<variable>.+?)})/', |
| 65 | - function (array $matches) use ($dotenv) { |
|
| 65 | + function(array $matches) use ($dotenv) { |
|
| 66 | 66 | return |
| 67 | - (getenv($matches['variable']) ? addslashes(getenv($matches['variable'])): null) ?? |
|
| 67 | + (getenv($matches['variable']) ? addslashes(getenv($matches['variable'])) : null) ?? |
|
| 68 | 68 | $dotenv->getEnvRawArray()[$matches['variable']] ?? |
| 69 | 69 | throw new RuntimeException(sprintf('Not found variable ${%s}.', $matches[2])); |
| 70 | 70 | }, |