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'; /**