Skip to content

Commit 95f483b

Browse files
committed
Add missing dots at the end of exception messages
1 parent ee9b946 commit 95f483b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

XPath/Extension/FunctionExtension.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function translateNthChild(XPathExpr $xpath, FunctionNode $function, $las
5858
try {
5959
list($a, $b) = Parser::parseSeries($function->getArguments());
6060
} catch (SyntaxErrorException $e) {
61-
throw new ExpressionErrorException(sprintf('Invalid series: %s', implode(', ', $function->getArguments())), 0, $e);
61+
throw new ExpressionErrorException(sprintf('Invalid series: %s.', implode(', ', $function->getArguments())), 0, $e);
6262
}
6363

6464
$xpath->addStarPrefix();

0 commit comments

Comments
 (0)