Skip to content

Commit

Permalink
Merge main and fix psalm.
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulb committed Dec 19, 2023
1 parent 5de3fc4 commit 6416ad5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Handler/Handlers/EntityIdHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ private function getOrderedIDs(array $ids, Metadata $metadata): Collection
}
}
$resultIds = array_map(function (null|int|string $id) use ($uuids) {
/** @psalm-suppress TypeDoesNotContainType */
if (class_exists(Uuid::class) && $uuids) {
return Uuid::fromString((string) $id);
}
Expand Down

0 comments on commit 6416ad5

Please sign in to comment.