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

MiddlewareInterface::__invoke()

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 1
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
0 ignored issues
show
introduced by
Missing class doc comment
Loading history...
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