| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 43 | public function handle(ServerRequestInterface $request) : ResponseInterface |
||
| 44 | { |
||
| 45 | $entry = $this->container->get('entryManager')->findById($request->getAttribute('entryId')); |
||
| 46 | |||
| 47 | $this->container->get('entryManager')->delete($entry); |
||
| 48 | |||
| 49 | return $this->ok(); |
||
| 50 | } |
||
| 52 |