From d63bb1f7e65879cb8ba2c761ceaeaa73fa28fb9a Mon Sep 17 00:00:00 2001 From: Johannes Steu Date: Sat, 16 Mar 2019 13:42:53 +0100 Subject: [PATCH] Adapt new breaking changes in ResolveInfoConstructor --- tests/ResolveInfoHelper.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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'] ?? [] ); } }