Conditions | 1 |
Paths | 1 |
Total Lines | 5 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
56 | public function handle(ServerRequestInterface $request) : ResponseInterface |
||
57 | { |
||
58 | $entry = $this->container->get('entryManager')->findById($request->getAttribute('entryId')); |
||
59 | |||
60 | return $this->ok($this->container->get('entrySerializer')->serialize($entry)); |
||
61 | } |
||
63 |