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:
parent
44a03b1017
commit
ecdbea2ba9
@ -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
|
||||||
|
Reference in New Issue
Block a user