Skip to content

Commit

Permalink
change class to #[\AllowDynamicProperties]
Browse files Browse the repository at this point in the history
  • Loading branch information
pack254 committed Aug 16, 2024
1 parent 509cac2 commit 0f9d2a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/DataObject/DataObjectFetcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use SilverStripe\SearchService\Service\IndexConfiguration;
use SilverStripe\SearchService\Service\Traits\ConfigurationAware;

#[\AllowDynamicProperties]
class DataObjectFetcher implements DocumentFetcherInterface
{

Expand All @@ -24,8 +25,6 @@ class DataObjectFetcher implements DocumentFetcherInterface

private ?string $dataObjectClass = null;

public DocumentFetchCreatorRegistry $Registry;

private static array $dependencies = [
'Configuration' => '%$' . IndexConfiguration::class,
'Registry' => '%$' . DocumentFetchCreatorRegistry::class,
Expand Down

0 comments on commit 0f9d2a5

Please sign in to comment.