@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | /** |
| 25 | 25 | * Put the parsed key value pair into $_ENV superglobal. |
| 26 | 26 | */ |
| 27 | - const ENV = 1; |
|
| 27 | + const ENV = 1; |
|
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | 30 | * Put the parsed key value pair into putenv(). |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | /** |
| 40 | 40 | * Put the parsed key value pair into all of the sources. |
| 41 | 41 | */ |
| 42 | - const ALL = 7; |
|
| 42 | + const ALL = 7; |
|
| 43 | 43 | |
| 44 | 44 | /** |
| 45 | 45 | * Loads .env file and puts the key value pair in one or all of putenv()/$_ENV/$_SERVER. |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | continue; |
| 107 | 107 | } |
| 108 | 108 | |
| 109 | - $value = \preg_replace_callback('~\$\{(\w+)\}~', function ($m) { |
|
| 109 | + $value = \preg_replace_callback('~\$\{(\w+)\}~', function($m) { |
|
| 110 | 110 | return (null === $ref = Retriever::getEnv($m[1], null)) ? $m[0] : $ref; |
| 111 | 111 | }, $value); |
| 112 | 112 | |