mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 16:54:04 +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()
|
public function getHeaders()
|
||||||
{
|
{
|
||||||
return $this->headers;
|
return $this->headers ?: array();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user