@@ -98,10 +98,11 @@ public function load(string $path, string ...$extraPaths): void
98
98
* .env.local is always ignored in test env because tests should produce the same results for everyone.
99
99
* .env.dist is loaded when it exists and .env is not found.
100
100
*
101
- * @param string $path A file to load
102
- * @param string|null $envKey The name of the env vars that defines the app env
103
- * @param string $defaultEnv The app env to use when none is defined
104
- * @param array $testEnvs A list of app envs for which .env.local should be ignored
101
+ * @param string $path A file to load
102
+ * @param string|null $envKey The name of the env vars that defines the app env
103
+ * @param string $defaultEnv The app env to use when none is defined
104
+ * @param array $testEnvs A list of app envs for which .env.local should be ignored
105
+ * @param bool $overrideExistingVars Whether existing environment variables set by the system should be overridden
105
106
*
106
107
* @throws FormatException when a file has a syntax error
107
108
* @throws PathException when a file does not exist or is not readable
@@ -182,7 +183,7 @@ public function overload(string $path, string ...$extraPaths): void
182
183
* Sets values as environment variables (via putenv, $_ENV, and $_SERVER).
183
184
*
184
185
* @param array $values An array of env variables
185
- * @param bool $overrideExistingVars true when existing environment variables must be overridden
186
+ * @param bool $overrideExistingVars Whether existing environment variables set by the system should be overridden
186
187
*/
187
188
public function populate (array $ values , bool $ overrideExistingVars = false ): void
188
189
{
0 commit comments