mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-22 12:56:05 +03:00
Added all possible scalar types to Node constructor
This commit is contained in:
parent
b2cea8b538
commit
ead1b864bc
@ -40,7 +40,7 @@ abstract class Node
|
|||||||
public $loc;
|
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)
|
public function __construct(array $vars)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user