chore: remove redundant instance check flagged by phpstan

This commit is contained in:
Björn Fromme
2026-05-28 15:49:09 +02:00
parent 4ec1935eef
commit f023bd9772
-2
View File
@@ -379,11 +379,9 @@ class BookingDto
} }
foreach ($this->participants as $participant) { foreach ($this->participants as $participant) {
if ($participant instanceof ParticipantDto) {
// Temporary cleanup for older serialized participants restored from session. // Temporary cleanup for older serialized participants restored from session.
$participant->normalizeBodyDimensions(); $participant->normalizeBodyDimensions();
} }
}
// Old sessions (before c373a989) still carry a full Travel object; // Old sessions (before c373a989) still carry a full Travel object;
// new sessions carry only the int ID. Handle both formats. // new sessions carry only the int ID. Handle both formats.