| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | 1 | public function __invoke( |
|
| 28 | GetCoverArtDataProviderInterface $getCoverArtDataProvider, |
||
| 29 | array $queryParams, |
||
| 30 | array $args |
||
| 31 | ): ResponderInterface { |
||
| 32 | 1 | $art = $getCoverArtDataProvider->getArt( |
|
| 33 | 1 | (string) ($queryParams['id'] ?? '') |
|
| 34 | 1 | ); |
|
| 35 | |||
| 36 | 1 | return $this->responderFactory->createCoverArtResponder( |
|
| 37 | 1 | $art['art'], |
|
| 38 | 1 | $art['contentType'], |
|
| 39 | 1 | ); |
|
| 42 |