1 | <?php |
||
23 | final class GetCargos |
||
24 | { |
||
25 | /** |
||
26 | * @var BookingService |
||
27 | */ |
||
28 | private $bookingService; |
||
29 | |||
30 | /** |
||
31 | * GetCargos constructor. |
||
32 | * @param BookingService $bookingService |
||
33 | */ |
||
34 | public function __construct(BookingService $bookingService) |
||
38 | |||
39 | public function __invoke(ServerRequestInterface $request, ResponseInterface $response, callable $next) |
||
45 | } |
||
46 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.