Skip to content

Commit

Permalink
Removed MiddlewareRunner from example
Browse files Browse the repository at this point in the history
  • Loading branch information
WyriHaximus committed Dec 13, 2017
1 parent 02cc046 commit 4028d38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This middleware adds all the headers passed into the constructor to the response
# Usage

```php
$server = new Server(new MiddlewareRunner([
$server = new Server([
/** Other middleware */
new WithHeadersMiddleware([
'X-Powered-By' => 'wyrihaximus.net (11.0.33)',
Expand All @@ -35,7 +35,7 @@ $server = new Server(new MiddlewareRunner([
2 // Maximum header count to attach
),
/** Other middleware */
]));
]);
```

# License
Expand Down

0 comments on commit 4028d38

Please sign in to comment.