From 62568652c63b23a84828685b89cd292b71c636ef Mon Sep 17 00:00:00 2001 From: lukmzig Date: Tue, 28 Mar 2023 08:57:05 +0200 Subject: [PATCH] fix: PHP stan --- src/GraphQL/Query/Operator/Thumbnail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GraphQL/Query/Operator/Thumbnail.php b/src/GraphQL/Query/Operator/Thumbnail.php index 08a26f93..8a5d9d0e 100644 --- a/src/GraphQL/Query/Operator/Thumbnail.php +++ b/src/GraphQL/Query/Operator/Thumbnail.php @@ -64,7 +64,7 @@ public function getLabeledValue($element, ResolveInfo $resolveInfo = null) if ($childResult->value instanceof Asset\Image || $childResult->value instanceof Asset\Video) { $childValue = $result->value = $childResult->value; $thumbnail = $childValue->getThumbnail($this->thumbnailConfig, false); - $result->value = $thumbnail->getPath(false); + $result->value = $thumbnail->getPath(['deferredAllowed' => false]); } }