Added all possible scalar types to Node constructor

(cherry picked from commit ead1b864bc)
This commit is contained in:
Simon Podlipsky 2018-11-27 18:22:01 +07:00 committed by Vladimir Razuvaev
parent 012082d1d9
commit bf471838ae

View File

@ -40,7 +40,7 @@ abstract class Node
public $loc;
/**
* @param (string|NameNode|NodeList|SelectionSetNode|Location|null)[] $vars
* @param (NameNode|NodeList|SelectionSetNode|Location|string|int|bool|float|null)[] $vars
*/
public function __construct(array $vars)
{