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.
This commit is contained in:
Matthieu Napoli 2018-01-21 20:33:21 +01:00 committed by Nicolas Grekas
parent 44a03b1017
commit ecdbea2ba9

View File

@ -1000,7 +1000,7 @@ class Process
/** /**
* Sets the environment variables. * 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. * If it is an array, the variable is ignored.
* *
* That happens in PHP when 'argv' is registered into * That happens in PHP when 'argv' is registered into