| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | 3 | public function handle(ServerRequestInterface $request): ResponseInterface |
|
| 28 | { |
||
| 29 | 3 | $shortUrlEdit = ShortUrlEdit::fromRawData((array) $request->getParsedBody()); |
|
| 30 | 2 | $identifier = ShortUrlIdentifier::fromApiRequest($request); |
|
| 31 | |||
| 32 | 2 | $this->shortUrlService->updateMetadataByShortCode($identifier, $shortUrlEdit); |
|
| 33 | 2 | return new EmptyResponse(); |
|
| 34 | } |
||
| 36 |