We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ee28e1 commit 1e48849Copy full SHA for 1e48849
README.md
@@ -308,7 +308,7 @@ $pipeline = new Pipeline();
308
$factory = new MiddlewareFactory($container, $responseFactory);
309
310
// Middleware for route matching
311
-$pipeline->pipe($factory->make(MatchRouteMiddleware::class));
+$pipeline->pipe($factory->makeMiddleware(MatchRouteMiddleware::class));
312
313
// Create 404 handler
314
$notFoundHandler = new RouteNotFoundHandler($responseFactory);
0 commit comments