| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 36 | protected function map(): array |
||
| 37 | { |
||
| 38 | return [ |
||
| 39 | 'Comment' => [ |
||
| 40 | 'authors' => function ( |
||
| 41 | CommentViewModel $value, |
||
| 42 | Argument $args, |
||
|
|
|||
| 43 | ArrayObject $context, |
||
| 44 | ResolveInfo $info |
||
| 45 | ) { |
||
| 46 | return $this->commentAuthorsResolver->getCommentAuthorsConnection(new CommentId($value->getId())); |
||
| 47 | }, |
||
| 48 | ], |
||
| 49 | ]; |
||
| 50 | } |
||
| 51 | } |
||
| 52 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.