Skip to content

Commit

Permalink
Missing parentheses for Grouped example
Browse files Browse the repository at this point in the history
  • Loading branch information
WyriHaximus committed Jan 7, 2018
1 parent 00efeb8 commit 196156d
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 @@ -48,7 +48,7 @@ following example where we add [`middlewares/cache`](https://github.com/middlewa
$loop = Factory::create();
$server = new Server([
/** Other middleware */
(new GroupedPSR15Middleware($loop)->withMiddleware(
(new GroupedPSR15Middleware($loop))->withMiddleware(
Redirect::class,
[
['/old-url' => '/new-url']
Expand Down

0 comments on commit 196156d

Please sign in to comment.