@@ -9,6 +9,9 @@ |
||
| 9 | 9 | |
| 10 | 10 | abstract class HtmlUtils |
| 11 | 11 | { |
| 12 | + /** |
|
| 13 | + * @param string $xpathQuery |
|
| 14 | + */ |
|
| 12 | 15 | public static function htmlXPath(\DOMDocument &$DOMDocument, $html, $xpathQuery) |
| 13 | 16 | { |
| 14 | 17 | $html = self::normalizeHTML($html); |
@@ -476,7 +476,8 @@ |
||
| 476 | 476 | |
| 477 | 477 | /** @var \ReflectionMethod $fxnToCall */ |
| 478 | 478 | $fxnToCall = \__::chain($fxns) |
| 479 | - ->filter(function (\ReflectionMethod $fxn) use ($method) { |
|
| 479 | + ->filter(function (\ReflectionMethod $fxn) use ($method) |
|
| 480 | + { |
|
| 480 | 481 | return $fxn->getName() === $method; |
| 481 | 482 | }) |
| 482 | 483 | ->get(0, null) |