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