From 4b651d80a507f504baec866ce256baa9f012acee Mon Sep 17 00:00:00 2001 From: vladar Date: Thu, 15 Sep 2016 17:32:54 +0700 Subject: [PATCH] Fixed php notice with deprecated schema constructor --- src/Schema.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Schema.php b/src/Schema.php index 8431bc5..5f488b4 100644 --- a/src/Schema.php +++ b/src/Schema.php @@ -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,