Skip to content

Commit

Permalink
[FATURE] Annotate AbstractFacet with AllowDynamicProperties
Browse files Browse the repository at this point in the history
This change avoid deprecation log for dynamic added properties on *Facet*-Objects 
via events. And warnings in IDEs and/or PhpStan.
  • Loading branch information
dkd-kaehm authored and dkd-friedrich committed Mar 7, 2024
1 parent 34e3927 commit 58e08bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Classes/Domain/Search/ResultSet/Facets/AbstractFacet.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

namespace ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Facets;

use AllowDynamicProperties;
use ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\SearchResultSet;

/**
Expand All @@ -23,7 +24,7 @@
* @author Frans Saris <[email protected]>
* @author Timo Hund <[email protected]>
*/
abstract class AbstractFacet
#[AllowDynamicProperties] abstract class AbstractFacet
{
public const TYPE_ABSTRACT = 'abstract';

Expand Down

0 comments on commit 58e08bf

Please sign in to comment.