Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 5919d3a

Browse files
committed
Merge pull request #597 from wesperinteractive/patch-1
Update MiddlewareFactory.php
2 parents 14d18fa + c3d1d44 commit 5919d3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MiddlewareFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function prepare($middleware) : MiddlewareInterface
7171
}
7272

7373
if ($middleware instanceof RequestHandlerInterface) {
74-
return new RequestHandlerMiddleware($middleware);
74+
return $this->handler($middleware);
7575
}
7676

7777
if (is_callable($middleware)) {

0 commit comments

Comments
 (0)