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,