From c6abe1667b0285ed219debb2377cab9fed50d49a Mon Sep 17 00:00:00 2001 From: Sebastian Blank Date: Wed, 6 Nov 2024 11:00:47 +0100 Subject: [PATCH] Fix regression from #875 --- src/GraphQL/Service.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/GraphQL/Service.php b/src/GraphQL/Service.php index ae90ff98..b52fb5e4 100644 --- a/src/GraphQL/Service.php +++ b/src/GraphQL/Service.php @@ -782,6 +782,9 @@ public function getPropertyTypeDefinition($typeName) * @param string|null $brickType * @param string|null $brickKey * @param Data|null $fieldDefinition + * @param array $context + * @param array|null $brickDescriptor + * @param array $args * * @return stdclass, value and objectid where the value comes from */ @@ -1162,7 +1165,7 @@ public static function getValueFromObjectBrick( Concrete $object, string $brickType, string $brickKey, - string $brickDescriptor = null, + ?array $brickDescriptor = null, array $descriptorData = [], ): stdClass|array|null { $context = ['object' => $object];