mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-22 04:46:04 +03:00
Merge pull request #406 from simPod/fix-type
Added all possible scalar types to Node constructor
This commit is contained in:
commit
6610f4e2da
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user