1 | <?php |
||
25 | final class GetLocations |
||
26 | { |
||
27 | /** |
||
28 | * @var BookingService |
||
29 | */ |
||
30 | private $bookingService; |
||
31 | |||
32 | /** |
||
33 | * GetLocations constructor. |
||
34 | * |
||
35 | * @param BookingService $bookingService |
||
36 | */ |
||
37 | public function __construct(BookingService $bookingService) |
||
41 | |||
42 | /** |
||
43 | * @param RequestInterface $request |
||
44 | * @param ResponseInterface $response |
||
45 | * @return JsonResponse |
||
46 | */ |
||
47 | public function __invoke(RequestInterface $request, ResponseInterface $response) |
||
56 | } |
||
57 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.