From 6be162d1666ac1f0885f3860fad58c4e493ef9ee Mon Sep 17 00:00:00 2001 From: Benoit Foujols Date: Fri, 29 Dec 2023 14:29:31 +0100 Subject: [PATCH] #43 Refactoring Codacy Issue --- src/EduFramework/Core/View/TwigCore.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/EduFramework/Core/View/TwigCore.php b/src/EduFramework/Core/View/TwigCore.php index 048135a..f670eae 100644 --- a/src/EduFramework/Core/View/TwigCore.php +++ b/src/EduFramework/Core/View/TwigCore.php @@ -38,7 +38,8 @@ public function __construct(string $path) self::$twig = new Environment($loader, [ 'cache' => false, 'debug' => true, - ]); + ] + ); // Ajoutez l'extension Debug self::$twig->addExtension(new DebugExtension()); self::$twig->addExtension(new StudooDebugExtension());