From 1f8a167f0c548193467b7d51a8b48311cf27f3b6 Mon Sep 17 00:00:00 2001 From: Vincent Lopes-Vicente Date: Thu, 11 May 2023 14:31:12 +0200 Subject: [PATCH] Fix update to 2.5 code block --- docs/update.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/update.md b/docs/update.md index 4a06127f..bebb2998 100644 --- a/docs/update.md +++ b/docs/update.md @@ -26,7 +26,7 @@ Module made for Thelia <= 2.4 are not compatible with the new version of Thelia, ```php public static function configureServices(ServicesConfigurator $servicesConfigurator): void { - $servicesConfigurator->load(self::getModuleCode().'\', DIR) + $servicesConfigurator->load(self::getModuleCode().'\\', __DIR__) ->exclude([THELIA_MODULE_DIR . ucfirst(self::getModuleCode()). "/I18n/*"]) ->autowire(true) ->autoconfigure(true);