Failed Conditions
Pull Request — master (#17)
by Chad
03:13 queued 50s
created

src/MiddlewareInterface.php (3 issues)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
namespace Chadicus\Slim\OAuth2\Middleware;
4
5
use Psr\Http\Message\ServerRequestInterface;
6
use Psr\Http\Message\ResponseInterface;
7
8
interface MiddlewareInterface
9
{
10
    /**
11
     * Execute this middleware.
12
     *
13
     * @param  ServerRequestInterface $request  PSR7 request
0 ignored issues
show
Coding Style Documentation introduced by
Parameter comment must end with a full stop
Loading history...
14
     * @param  ResponseInterface      $response PSR7 response
0 ignored issues
show
Coding Style Documentation introduced by
Parameter comment must end with a full stop
Loading history...
15
     * @param  callable               $next     Next middleware
0 ignored issues
show
Coding Style Documentation introduced by
Parameter comment must end with a full stop
Loading history...
16
     *
17
     * @return ResponseInterface
18
     */
19
    public function __invoke(ServerRequestInterface $request, ResponseInterface $response, callable $next);
20
}
21