Skip to content

Commit ecdbea2

Browse files
mnapolinicolas-grekas
authored andcommitted
Improve phpdoc to make it more explicit
It confused me a lot that the method took an array and that the phpdoc said we should pass a string instead of an array. This small change should clear up the confusion.
1 parent 44a03b1 commit ecdbea2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Process/Process.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ public function getEnv()
10001000
/**
10011001
* Sets the environment variables.
10021002
*
1003-
* An environment variable value should be a string.
1003+
* Each environment variable value should be a string.
10041004
* If it is an array, the variable is ignored.
10051005
*
10061006
* That happens in PHP when 'argv' is registered into

0 commit comments

Comments
 (0)