Skip to content

Commit

Permalink
Merge 1.x into 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
SonataCI authored Apr 15, 2024
2 parents d074bda + 0e5091b commit 01250e4
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 01250e4

Please sign in to comment.