Skip to content

Commit 7fb47fc

Browse files
committed
Add missing dots at the end of exception messages
1 parent 1a76a94 commit 7fb47fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Internal/Exporter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public static function prepare($values, $objectsPool, &$refsPool, &$objectsCount
7878

7979
if ($reflector->hasMethod('__serialize')) {
8080
if (!$reflector->getMethod('__serialize')->isPublic()) {
81-
throw new \Error(sprintf('Call to %s method %s::__serialize()', $reflector->getMethod('__serialize')->isProtected() ? 'protected' : 'private', $class));
81+
throw new \Error(sprintf('Call to %s method %s::__serialize().', $reflector->getMethod('__serialize')->isProtected() ? 'protected' : 'private', $class));
8282
}
8383

8484
if (!\is_array($properties = $value->__serialize())) {

0 commit comments

Comments
 (0)