@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | /** |
| 16 | 16 | * Put the parsed key value pair into $_ENV superglobal. |
| 17 | 17 | */ |
| 18 | - const ENV = 1; |
|
| 18 | + const ENV = 1; |
|
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | 21 | * Put the parsed key value pair into putenv(). |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | /** |
| 31 | 31 | * Put the parsed key value pair into all of the sources. |
| 32 | 32 | */ |
| 33 | - const ALL = 7; |
|
| 33 | + const ALL = 7; |
|
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | 36 | * Loads .env file and puts the key value pair in one or all of putenv()/$_ENV/$_SERVER. |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | return $value; |
| 92 | 92 | } |
| 93 | 93 | |
| 94 | - return \preg_replace_callback('~\$\{(\w+)\}~', function ($m) { |
|
| 94 | + return \preg_replace_callback('~\$\{(\w+)\}~', function($m) { |
|
| 95 | 95 | return (null === $ref = Retriever::getEnv($m[1], null)) ? $m[0] : $ref; |
| 96 | 96 | }, $value); |
| 97 | 97 | } |