mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-05-28 04:02:39 -04:00
BaseHttpException: Don't return null in method getHeaders()
This commit is contained in:
parent
f25420f458
commit
73f254ff32
1 changed files with 1 additions and 1 deletions
|
|
@ -69,6 +69,6 @@ class BaseHttpException extends IcingaException implements HttpExceptionInterfac
|
|||
*/
|
||||
public function getHeaders()
|
||||
{
|
||||
return $this->headers;
|
||||
return $this->headers ?: array();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue