From 12cdb61866f1f5cc6e2092d1fc4fb9c0c1bdddfc Mon Sep 17 00:00:00 2001 From: ashraf Date: Mon, 22 Jul 2024 19:46:54 +0200 Subject: [PATCH] OXDEV-7248 remove unnecessary cast for debug option --- src/TwigContext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TwigContext.php b/src/TwigContext.php index 80eaa7d..96af8d6 100644 --- a/src/TwigContext.php +++ b/src/TwigContext.php @@ -23,7 +23,7 @@ public function __construct( public function getIsDebug(): bool { - return (bool) ContainerFacade::getParameter('oxid_debug_mode'); + return ContainerFacade::getParameter('oxid_debug_mode'); } public function getActiveThemeId(): string