Skip to content

Commit

Permalink
fix test failing on assert valid middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
Prasetyo committed Aug 12, 2015
1 parent 9c5a04f commit 982b032
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stub/ValidMiddlewareClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ class ValidMiddlewareClass implements MiddlewareInterface
/**
* @param ServerRequestInterface $request
* @param ResponseInterface $response
* @param callable $next
* @return ResponseInterface
*/
public function __invoke(ServerRequestInterface $request, ResponseInterface $response)
public function __invoke(ServerRequestInterface $request, ResponseInterface $response, callable $next)
{
return $response;
}
Expand Down

0 comments on commit 982b032

Please sign in to comment.