Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 54f9fbd

Browse filesBrowse files
committed
[Dotenv] Fix phpdoc Dotenv
1 parent fc9837e commit 54f9fbd
Copy full SHA for 54f9fbd

File tree

1 file changed

+8
-8
lines changed
Filter options

1 file changed

+8
-8
lines changed

‎src/Symfony/Component/Dotenv/Dotenv.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Dotenv/Dotenv.php
+8-8Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ public function usePutenv(bool $usePutenv = true): self
8181
/**
8282
* Loads one or several .env files.
8383
*
84-
* @param string $path A file to load
85-
* @param string[] ...$extraPaths A list of additional files to load
84+
* @param string $path A file to load
85+
* @param string ...$extraPaths A list of additional files to load
8686
*
8787
* @throws FormatException when a file has a syntax error
8888
* @throws PathException when a file does not exist or is not readable
@@ -98,10 +98,10 @@ public function load(string $path, string ...$extraPaths): void
9898
* .env.local is always ignored in test env because tests should produce the same results for everyone.
9999
* .env.dist is loaded when it exists and .env is not found.
100100
*
101-
* @param string $path A file to load
102-
* @param string $envKey|null 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
105105
*
106106
* @throws FormatException when a file has a syntax error
107107
* @throws PathException when a file does not exist or is not readable
@@ -167,8 +167,8 @@ public function bootEnv(string $path, string $defaultEnv = 'dev', array $testEnv
167167
/**
168168
* Loads one or several .env files and enables override existing vars.
169169
*
170-
* @param string $path A file to load
171-
* @param string[] ...$extraPaths A list of additional files to load
170+
* @param string $path A file to load
171+
* @param string ...$extraPaths A list of additional files to load
172172
*
173173
* @throws FormatException when a file has a syntax error
174174
* @throws PathException when a file does not exist or is not readable

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.