Skip to content

Commit 45894b0

Browse files
committed
[Serializer] Remove unnecessary break
1 parent 521aaf7 commit 45894b0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Normalizer/AbstractObjectNormalizer.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,8 +502,6 @@ private function validateAndDenormalize(array $types, string $currentClass, stri
502502
default:
503503
throw NotNormalizableValueException::createForUnexpectedDataType(sprintf('The type of the "%s" attribute for class "%s" must be float ("%s" given).', $attribute, $currentClass, $data), $data, [Type::BUILTIN_TYPE_FLOAT], $context['deserialization_path'] ?? null);
504504
}
505-
506-
break;
507505
}
508506
}
509507

0 commit comments

Comments
 (0)