BaseHttpException: Don't return null in method getHeaders()
This commit is contained in:
parent
f25420f458
commit
73f254ff32
|
@ -69,6 +69,6 @@ class BaseHttpException extends IcingaException implements HttpExceptionInterfac
|
|||
*/
|
||||
public function getHeaders()
|
||||
{
|
||||
return $this->headers;
|
||||
return $this->headers ?: array();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue