Total Complexity | 3 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | final class PropertyController extends AbstractController implements AjaxController |
||
17 | { |
||
18 | /** |
||
19 | * @Route("/user/property/{id<\d+>}/update", methods={"GET"}, name="user_property_update") |
||
20 | * @IsGranted("PROPERTY_EDIT", subject="property", message="You cannot change this property.") |
||
21 | */ |
||
22 | public function update(Request $request, Property $property, UserPropertyRepository $repository): JsonResponse |
||
37 |