technosophos/querypath — pull request #108 by mkalkbrenner (2013-04-05 16:09:15+00:00)
Title: Query interface is incorrect

The Query interface in Query.php is incorrect. It defines required parameters for all functions, but most of these parameters are not required.
For example it's OK to call top() without a parameter:

```php
function test(\QueryPath\Query $query) {
$query->top();
}
```
Without my patch that leads into an error:
"Required parameter $selector missing. Invocation parameter types are not compatible with declared."