Avoid call_user_func_array in query method

Wouldn't casting prevent the need to check against whether it's an array?

```php
$query = array_shift($args);

if (count($args) === 1) {
    parent::query($query, (array) $args[0]);
}
```