Skip to content

Commit 8f6f95b

Browse files
committedMar 15, 2020
Merge branch '3.4' into 4.4
* 3.4: Add missing dots at the end of exception messages
2 parents d0a6dd2 + 95f483b commit 8f6f95b

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
@@ -53,7 +53,7 @@ public function translateNthChild(XPathExpr $xpath, FunctionNode $function, bool
5353
try {
5454
list($a, $b) = Parser::parseSeries($function->getArguments());
5555
} catch (SyntaxErrorException $e) {
56-
throw new ExpressionErrorException(sprintf('Invalid series: %s', implode(', ', $function->getArguments())), 0, $e);
56+
throw new ExpressionErrorException(sprintf('Invalid series: %s.', implode(', ', $function->getArguments())), 0, $e);
5757
}
5858

5959
$xpath->addStarPrefix();

0 commit comments

Comments
 (0)
Please sign in to comment.