| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 2 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 38 | 3 | #[Route( |
|
| 39 | path: '/{id}', |
||
| 40 | requirements: [ |
||
| 41 | 'id' => Requirement::UUID_V1, |
||
| 42 | ], |
||
| 43 | methods: [Request::METHOD_PATCH], |
||
| 44 | )] |
||
| 45 | #[IsGranted(AuthenticatedVoter::IS_AUTHENTICATED_FULLY)] |
||
| 46 | public function patchAction(Request $request, RestDtoInterface $restDto, string $id): Response |
||
| 47 | { |
||
| 48 | 3 | return $this->patchMethod($request, $restDto, $id); |
|
| 49 | } |
||
| 51 |