Skip to content

Commit

Permalink
OXDEV-7248 remove unnecessary cast for debug option
Browse files Browse the repository at this point in the history
  • Loading branch information
AshrafOxid committed Jul 22, 2024
1 parent 9b59e4f commit 12cdb61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TwigContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 12cdb61

Please sign in to comment.