Skip to content

Commit 644d110

Browse files
committed
Add missing dots at the end of exception messages
1 parent 9c98fd3 commit 644d110

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Normalizer/AbstractObjectNormalizer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,12 +222,12 @@ protected function instantiateObject(array &$data, $class, array &$context, \Ref
222222
{
223223
if ($this->classDiscriminatorResolver && $mapping = $this->classDiscriminatorResolver->getMappingForClass($class)) {
224224
if (!isset($data[$mapping->getTypeProperty()])) {
225-
throw new RuntimeException(sprintf('Type property "%s" not found for the abstract object "%s"', $mapping->getTypeProperty(), $class));
225+
throw new RuntimeException(sprintf('Type property "%s" not found for the abstract object "%s".', $mapping->getTypeProperty(), $class));
226226
}
227227

228228
$type = $data[$mapping->getTypeProperty()];
229229
if (null === ($mappedClass = $mapping->getClassForType($type))) {
230-
throw new RuntimeException(sprintf('The type "%s" has no mapped class for the abstract object "%s"', $type, $class));
230+
throw new RuntimeException(sprintf('The type "%s" has no mapped class for the abstract object "%s".', $type, $class));
231231
}
232232

233233
$class = $mappedClass;

0 commit comments

Comments
 (0)