chore: remove redundant instance check flagged by phpstan
This commit is contained in:
1 parent
4ec1935eef
commit
f023bd9772
1 file changed
+2
-4
@@ -379,10 +379,8 @@ 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;
|
||||||
|
|||||||
Reference in new issue
Block a user