From 5baea781cf20249032fac337728da2f5617789db Mon Sep 17 00:00:00 2001 From: Danny v W Date: Fri, 30 Dec 2022 11:15:20 +0100 Subject: [PATCH] fix(metadata): fix extra properties method (#5294) --- .../Factory/UriTemplateResourceMetadataCollectionFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Metadata/Resource/Factory/UriTemplateResourceMetadataCollectionFactory.php b/src/Metadata/Resource/Factory/UriTemplateResourceMetadataCollectionFactory.php index 65bc62d349e..22f4d4c5436 100644 --- a/src/Metadata/Resource/Factory/UriTemplateResourceMetadataCollectionFactory.php +++ b/src/Metadata/Resource/Factory/UriTemplateResourceMetadataCollectionFactory.php @@ -132,7 +132,7 @@ private function configureUriVariables($operation) return $this->normalizeUriVariables($operation); } - $hasUserConfiguredUriVariables = !($operation->getExtraProperties['is_legacy_resource_metadata'] ?? false); + $hasUserConfiguredUriVariables = !($operation->getExtraProperties()['is_legacy_resource_metadata'] ?? false); if (!$operation->getUriVariables()) { $hasUserConfiguredUriVariables = false; $operation = $operation->withUriVariables($this->transformLinksToUriVariables($this->linkFactory->createLinksFromIdentifiers($operation)));