diff --git a/05-router.md b/05-router.md index a381107..d635a58 100644 --- a/05-router.md +++ b/05-router.md @@ -74,6 +74,6 @@ $routeDefinitionCallback = function (\FastRoute\RouteCollector $r) { $dispatcher = \FastRoute\simpleDispatcher($routeDefinitionCallback); ``` -This is already an improvement, but now all the handler code is in the `Routers.php` file. This is not optimal, so let's fix that in the next part. +This is already an improvement, but now all the handler code is in the `Routes.php` file. This is not optimal, so let's fix that in the next part. [<< previous](04-http.md) | [next >>](06-dispatching-to-a-class.md) diff --git a/08-dependency-injector.md b/08-dependency-injector.md index ffd2a61..d2dd08e 100644 --- a/08-dependency-injector.md +++ b/08-dependency-injector.md @@ -11,7 +11,7 @@ Install the Auryn package and then create a new file called `Dependencies.php` i ```php alias('Http\Response', 'Http\HttpResponse'); $injector->share('Http\HttpRequest'); @@ -94,4 +94,4 @@ As you can see now the class has two dependencies. Try to access the page with a Congratulations, you have now successfully laid the groundwork for your application. -[<< previous](07-inversion-of-control.md) | [next >>](09-templating.md) \ No newline at end of file +[<< previous](07-inversion-of-control.md) | [next >>](09-templating.md)