chore: remove redundant instance check flagged by phpstan
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user