From f023bd9772618d5dccb11d7228c851e0986784a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Thu, 28 May 2026 15:49:09 +0200 Subject: [PATCH] chore: remove redundant instance check flagged by phpstan --- src/Form/Model/BookingDto.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Form/Model/BookingDto.php b/src/Form/Model/BookingDto.php index 536f47b..5ddd6fe 100644 --- a/src/Form/Model/BookingDto.php +++ b/src/Form/Model/BookingDto.php @@ -379,10 +379,8 @@ class BookingDto } foreach ($this->participants as $participant) { - if ($participant instanceof ParticipantDto) { - // Temporary cleanup for older serialized participants restored from session. - $participant->normalizeBodyDimensions(); - } + // Temporary cleanup for older serialized participants restored from session. + $participant->normalizeBodyDimensions(); } // Old sessions (before c373a989) still carry a full Travel object;