We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 19 | class NodeResolver implements ContainerAwareInterface |
||
| 20 | { |
||
| 21 | use ContainerAwareTrait; |
||
| 22 | |||
| 23 | /** @var TypeResolver */ |
||
| 24 | private $typeResolver; |
||
| 25 | |||
| 26 | private $userData = [ |
||
| 27 | '1' => [ |
||
| 28 | 'id' => 1, |
||
| 29 | 'name' => 'John Doe', |
||
| 30 | ], |
||
| 31 | '2' => [ |
||
| 32 | 'id' => 2, |
||
| 33 | 'name' => 'Jane Smith', |
||
| 34 | ], |
||
| 35 | ]; |
||
| 36 | |||
| 37 | private $photoData = [ |
||
| 38 | '3' => [ |
||
| 39 | 'photoID' => 3, |
||
| 40 | 'photoWidth' => 300, |
||
| 41 | ], |
||
| 42 | '4' => [ |
||
| 43 | 'photoID' => 4, |
||
| 44 | 'photoWidth' => 400, |
||
| 45 | ], |
||
| 46 | ]; |
||
| 47 | |||
| 48 | public function __construct(TypeResolver $typeResolver) |
||
| 52 | |||
| 53 | public function resolvePhotoField($value, ResolveInfo $info) |
||
| 64 | |||
| 65 | public function idFetcher($id) |
||
| 75 | |||
| 76 | public function typeResolver($value) |
||
| 84 | } |
||
| 85 |