Skip to content

Commit

Permalink
fix eradme
Browse files Browse the repository at this point in the history
  • Loading branch information
olegbaturin committed Oct 24, 2024
1 parent 9f9b6ce commit fe7ef3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ Add `CsrfMiddleware` to the main middleware stack

```php
$middlewareDispatcher = $injector->make(MiddlewareDispatcher::class);
$middlewareDispatcher->withMiddlewares([
$middlewareDispatcher = $middlewareDispatcher->withMiddlewares([
ErrorCatcher::class,
SessionMiddleware::class,
CsrfMiddleware::class, // <-- add this
Expand Down

0 comments on commit fe7ef3e

Please sign in to comment.