The html5qp() function wasn't correctly type hinted + the signature didn't match qp() or htmlqp(), and this PR fixes that issue. The docblock property types were tweaked/added in the primary functions, and their QueryPath class equivalent, to better match the inputs / return values.
Pull Request type
Please check the type of change your PR introduces:
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
The
html5qp()
function wasn't correctly type hinted + the signature didn't matchqp()
orhtmlqp()
, and this PR fixes that issue. The docblock property types were tweaked/added in the primary functions, and theirQueryPath
class equivalent, to better match the inputs / return values.Pull Request type
Please check the type of change your PR introduces:
Does this introduce a breaking change?