Use Zend\Filter to remove cyclomatic complexity