Add @var casts for XPath queries
Because PHPStan does not currently analyze XPath expressions, we need to use a @var cast: https://phpstan.org/writing-php-code/phpdocs-basics#inline-%40var These are list of elements since asterisk wildcard only selects elements: https://www.w3.org/TR/1999/REC-xpath-19991116/#path-abbrevpull/93/head
parent
5040fc1587
commit
f610333040
1 changed files with 3 additions and 0 deletions
Loading…
Reference in new issue