Added all possible scalar types to Node constructor

This commit is contained in:
Simon Podlipsky 2018-11-27 12:22:01 +01:00
parent b2cea8b538
commit ead1b864bc

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)
{