From a4d67c2edfd1f8644b17721faaeef289da0a9145 Mon Sep 17 00:00:00 2001 From: alexmerlin Date: Thu, 30 Jan 2025 17:09:32 +0200 Subject: [PATCH] Issue #34: Fixed mixed up messages in NavigationServiceFactory Signed-off-by: alexmerlin --- README.md | 3 +-- src/Factory/NavigationServiceFactory.php | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bf76bef..4be1806 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,7 @@ composer require dotkernel/dot-navigation Merge `ConfigProvider` to your application's configuration. -The package uses dot-helpers package, please merge dot-helpers `ConfigProvider` to your application's configuration -also, if it's not merged already! +> The package uses dot-helpers package, please merge dot-helpers `ConfigProvider` to your application's configuration also, if it's not merged already! Register `NavigationMiddleware` in your middleware pipe between the routing and the dispatching middleware. diff --git a/src/Factory/NavigationServiceFactory.php b/src/Factory/NavigationServiceFactory.php index 4019809..6827b27 100644 --- a/src/Factory/NavigationServiceFactory.php +++ b/src/Factory/NavigationServiceFactory.php @@ -17,8 +17,8 @@ class NavigationServiceFactory { - public const MESSAGE_MISSING_PLUGIN_MANAGER = 'Unable to find RouteHelper in the container'; - public const MESSAGE_MISSING_ROUTE_HELPER = 'Unable to find ProviderPluginManager in the container'; + public const MESSAGE_MISSING_PLUGIN_MANAGER = 'Unable to find ProviderPluginManager in the container'; + public const MESSAGE_MISSING_ROUTE_HELPER = 'Unable to find RouteHelper in the container'; public const MESSAGE_MISSING_NAVIGATION_OPTIONS = 'Unable to find NavigationOptions in the container'; /**