mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 00:34:03 +02:00
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…
x
Reference in New Issue
Block a user