minor #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 #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
This commit is contained in:
Nicolas Grekas 2018-01-21 20:40:00 +01:00
commit fb7be04d83

View File

@ -1000,7 +1000,7 @@ class Process
/**
* Sets the environment variables.
*
* An environment variable value should be a string.
* Each environment variable value should be a string.
* If it is an array, the variable is ignored.
*
* That happens in PHP when 'argv' is registered into