This wrapping is wrong

     $filterStr = $this->request->query->filter($filterURLName, '', false, FILTER_SANITIZE_STRING);

is sufficient. Do not need to wrap unless 120+ and if you do you must do it like [this](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md#46-method-and-function-calls)