Skip to content

Commit fb7be04

Browse files
minor symfony#25879 Improve phpdoc to make it more explicit (mnapoli)
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes symfony#25879). Discussion ---------- Improve phpdoc to make it more explicit | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no <!-- don't forget to update src/**/CHANGELOG.md files --> | BC breaks? | no | Deprecations? | no <!-- don't forget to update UPGRADE-*.md files --> | Tests pass? | | Fixed tickets | | License | MIT | Doc PR | 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. Commits ------- ecdbea2 Improve phpdoc to make it more explicit
2 parents 44a03b1 + ecdbea2 commit fb7be04

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)