From 8ee89ea0b489e89f92bd61fb23cfcfb05cf9eefc Mon Sep 17 00:00:00 2001 From: Pack Date: Fri, 16 Aug 2024 11:33:55 +1200 Subject: [PATCH] fix creation of dynamic property deprecated in php >= 8.2 --- src/DataObject/DataObjectFetcher.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/DataObject/DataObjectFetcher.php b/src/DataObject/DataObjectFetcher.php index 3b612e0..32e6bc1 100644 --- a/src/DataObject/DataObjectFetcher.php +++ b/src/DataObject/DataObjectFetcher.php @@ -24,6 +24,8 @@ class DataObjectFetcher implements DocumentFetcherInterface private ?string $dataObjectClass = null; + public DocumentFetchCreatorRegistry $Register; + private static array $dependencies = [ 'Configuration' => '%$' . IndexConfiguration::class, 'Registry' => '%$' . DocumentFetchCreatorRegistry::class,