diff --git a/composer.json b/composer.json index 3d3e9d0..7e8d5d6 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ ], "require": { "php": ">=7.2", - "webonyx/graphql-php": "dev-master#d591eccd9f3f511c9ab25bc5658d85f5e29f2260", + "webonyx/graphql-php": "~0.13", "ext-json": "*" }, "require-dev": { diff --git a/tests/ResolveInfoHelper.php b/tests/ResolveInfoHelper.php index 8acfb2c..78a27aa 100644 --- a/tests/ResolveInfoHelper.php +++ b/tests/ResolveInfoHelper.php @@ -20,12 +20,12 @@ public static function createResolveInfo(array $options) : ResolveInfo $options['fieldNodes'] ?? null, $options['returnType'] ?? null, $options['parentType'] ?? new ObjectType(['name' => 'dummy']), - $options['path'] ?? null, + $options['path'] ?? [], $options['schema'] ?? new Schema([]), - $options['fragments'] ?? null, + $options['fragments'] ?? [], $options['rootValue'] ?? null, $options['operation'] ?? null, - $options['variableValues'] ?? null + $options['variableValues'] ?? [] ); } }