Are you sure the assignment to $headers is correct as $this->getHeader($url) targeting Zicht\Bundle\UrlBundle\S...lValidator::getHeader() seems to always return null.
This check looks for function or method calls that always return null and whose
return value is assigned to a variable.