From aaa2d2b5792cf9273ae5afe3bd828a874a13d910 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Laissus?= Date: Tue, 10 Jun 2025 17:35:46 +0200 Subject: [PATCH] feat: thelia 2.6 autowiring --- PayPlugModule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PayPlugModule.php b/PayPlugModule.php index b440ba6..7e2cb8c 100755 --- a/PayPlugModule.php +++ b/PayPlugModule.php @@ -154,7 +154,7 @@ public function getHooks() public static function configureServices(ServicesConfigurator $servicesConfigurator): void { $servicesConfigurator->load(self::getModuleCode().'\\', __DIR__) - ->exclude([THELIA_MODULE_DIR . ucfirst(self::getModuleCode()). "/I18n/*"]) + ->exclude(["/I18n/*"]) ->autowire(true) ->autoconfigure(true); }