Skip to content

Commit 067b6a0

Browse files
committed
Tweak the code to avoid fabbot false positives
1 parent 03f3c34 commit 067b6a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Normalizer/AbstractObjectNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ public function denormalize($data, $type, $format = null, array $context = [])
359359
try {
360360
$this->setAttributeValue($object, $attribute, $value, $format, $context);
361361
} catch (InvalidArgumentException $e) {
362-
throw new NotNormalizableValueException(sprintf('Failed to denormalize attribute "%s" value for class "%s": %s.', $attribute, $type, $e->getMessage()), $e->getCode(), $e);
362+
throw new NotNormalizableValueException(sprintf('Failed to denormalize attribute "%s" value for class "%s": '.$e->getMessage(), $attribute, $type), $e->getCode(), $e);
363363
}
364364
}
365365

0 commit comments

Comments
 (0)