| 1 | <?php |
||
| 11 | class DispatchRequest |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var ResponseFactory |
||
| 15 | */ |
||
| 16 | private $factory; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var RouteDispatcher |
||
| 20 | */ |
||
| 21 | private $dispatcher; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param RouteDispatcher $dispatcher |
||
| 25 | * @param ResponseFactory $factory |
||
| 26 | */ |
||
| 27 | 1 | public function __construct( |
|
| 34 | |||
| 35 | /** |
||
| 36 | * @param RequestInterface $request |
||
| 37 | * @param ResponseInterface $response |
||
| 38 | * @param callable $next |
||
| 39 | * @return Response |
||
| 40 | */ |
||
| 41 | 1 | public function __invoke(RequestInterface $request, ResponseInterface $response, callable $next = null) |
|
| 47 | } |
||
| 48 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.