From c497c7360ee744424f609b469eb115f0616aad66 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 14 Aug 2023 12:46:49 +0200 Subject: [PATCH] Url::getRequest(): Add missing return type --- library/Businessprocess/Web/Url.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/library/Businessprocess/Web/Url.php b/library/Businessprocess/Web/Url.php index b07b9fb..92b1e85 100644 --- a/library/Businessprocess/Web/Url.php +++ b/library/Businessprocess/Web/Url.php @@ -4,6 +4,7 @@ namespace Icinga\Module\Businessprocess\Web; use Icinga\Application\Icinga; use Icinga\Application\Web; +use Icinga\Web\Request; use Icinga\Web\Url as WebUrl; /** @@ -15,6 +16,9 @@ use Icinga\Web\Url as WebUrl; */ class Url extends WebUrl { + /** + * @return FakeRequest|Request + */ protected static function getRequest() { $app = Icinga::app();