Skip to content

Commit 1de2fe8

Browse files
committed
[Serializer] Fix error message
1 parent 412e2a2 commit 1de2fe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Normalizer/AbstractNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ protected function instantiateObject(array &$data, string $class, array &$contex
404404
}
405405

406406
$exception = NotNormalizableValueException::createForUnexpectedDataType(
407-
sprintf('Failed to create object because the object miss the "%s" property.', $constructorParameter->name),
407+
sprintf('Failed to create object because it misses the "%s" property.', $constructorParameter->name),
408408
$data,
409409
['unknown'],
410410
$context['deserialization_path'] ?? null,

0 commit comments

Comments
 (0)