mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-29 00:25:17 +03:00
Added all possible scalar types to Node constructor
(cherry picked from commit ead1b864bc
)
This commit is contained in:
parent
012082d1d9
commit
bf471838ae
@ -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