BaseHttpException: Don't return null in method getHeaders()

This commit is contained in:
Johannes Meyer 2017-07-12 16:52:02 +02:00
parent f25420f458
commit 73f254ff32
1 changed files with 1 additions and 1 deletions

View File

@ -69,6 +69,6 @@ class BaseHttpException extends IcingaException implements HttpExceptionInterfac
*/
public function getHeaders()
{
return $this->headers;
return $this->headers ?: array();
}
}