mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-25 06:16:05 +03:00
Fixed php notice with deprecated schema constructor
This commit is contained in:
parent
b93519170f
commit
4b651d80a5
@ -60,7 +60,7 @@ class Schema
|
||||
'See https://github.com/webonyx/graphql-php/issues/36',
|
||||
E_USER_DEPRECATED
|
||||
);
|
||||
list($queryType, $mutationType, $subscriptionType) = func_get_args();
|
||||
list($queryType, $mutationType, $subscriptionType) = func_get_args() + [null, null, null];
|
||||
|
||||
$config = [
|
||||
'query' => $queryType,
|
||||
|
Loading…
Reference in New Issue
Block a user