| Total Complexity | 2 |
| Total Lines | 13 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | final class GetCommentsListController extends AbstractController |
||
| 16 | { |
||
| 17 | private CommentRepository $commentRepository; |
||
| 18 | |||
| 19 | 1 | public function __construct(CommentRepository $repository) |
|
| 20 | { |
||
| 21 | 1 | $this->commentRepository = $repository; |
|
| 22 | } |
||
| 23 | |||
| 24 | 1 | public function __invoke(Article $article): array |
|
| 28 | ]; |
||
| 29 | } |
||
| 31 |