Skip to content

Commit

Permalink
Merge branch 'sonata-project:1.x' into 1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeyudin authored Apr 14, 2024
2 parents f6f1f11 + 0e5091b commit b9979c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Collection/AuditedCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ public function containsKey($key)
*
* @return object
*
* @phpstan-param TKey $key
* @phpstan-return T
*/
#[\ReturnTypeWillChange]
Expand Down
1 change: 1 addition & 0 deletions src/Metadata/MetadataFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class MetadataFactory
public function __construct(array $auditedEntities)
{
// NEXT_MAJOR: Remove array_filter call.
// @phpstan-ignore-next-line
$this->auditedEntities = array_flip(array_filter($auditedEntities));
}

Expand Down

0 comments on commit b9979c9

Please sign in to comment.