8000 remove doubled dot from exception message · symfony/symfony@4c04328 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4c04328

Browse files
committed
remove doubled dot from exception message
1 parent 9093e86 commit 4c04328

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/PropertyAccess/PropertyAccessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ private function writeProperty($zval, $property, $value)
535535
} elseif (self::ACCESS_TYPE_MAGIC === $access[self::ACCESS_TYPE]) {
536536
$object->{$access[self::ACCESS_NAME]}($value);
537537
} elseif (self::ACCESS_TYPE_NOT_FOUND === $access[self::ACCESS_TYPE]) {
538-
throw new NoSuchPropertyException(sprintf('Could not determine access type for property "%s" in class "%s"%s.', $property, \get_class($object), isset($access[self::ACCESS_NAME]) ? ': '.$access[self::ACCESS_NAME] : ''));
538+
throw new NoSuchPropertyException(sprintf('Could not determine access type for property "%s" in class "%s"%s', $property, \get_class($object), isset($access[self::ACCESS_NAME]) ? ': '.$access[self::ACCESS_NAME] : '.'));
539539
} else {
540540
throw new NoSuchPropertyException($access[self::ACCESS_NAME]);
541541
}

0 commit comments

Comments
 (0)
0