Skip to content

Commit 4f66ed1

Browse files
committed
Fix phpdocs
1 parent bed821b commit 4f66ed1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Assert/XPathFilterTrait.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ trait XPathFilterTrait
8989
* The goal is preventing DoS attacks by limiting the complexity of the XPath expression by only allowing
9090
* a select subset of functions and axes.
9191
* The check uses a list of allowed functions and axes, and throws an exception when an unknown function
92-
* or axis is found in the $xpath_expression.
92+
* or axis is found in the $value.
9393
*
9494
* Limitations:
9595
* - The implementation is based on regular expressions, and does not employ an XPath 1.0 parser. It may not
@@ -183,7 +183,7 @@ public static function validAllowedXPathAxes(
183183
string $message = '',
184184
): void {
185185
/**
186-
* Check if the $xpath_expression uses an XPath axis that is not in the list of allowed axes
186+
* Check if the $value uses an XPath axis that is not in the list of allowed axes
187187
*
188188
* Look for the axis specifier '::' and look for a function name before it.
189189
* Ignoring whitespace before the '::' and the axis name.

0 commit comments

Comments
 (0)