Merge pull request #406 from simPod/fix-type

Added all possible scalar types to Node constructor
This commit is contained in:
Vladimir Razuvaev 2018-12-01 23:04:11 +07:00 committed by GitHub
commit 6610f4e2da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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