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