@BenMorel: Well `AbstractQuery::getParameter()` can return null:

```php
    public function getParameter($key)
    {
        // ...
        return count($filteredParameters) ? $filteredParameters->first() : null;
    }
```