We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 17 | class GlobalResolver |
||
| 18 | { |
||
| 19 | /** @var TypeResolver */ |
||
| 20 | private $typeResolver; |
||
| 21 | |||
| 22 | private $userData = [ |
||
| 23 | 1 => [ |
||
| 24 | 'id' => 1, |
||
| 25 | 'name' => 'John Doe', |
||
| 26 | ], |
||
| 27 | 2 => [ |
||
| 28 | 'id' => 2, |
||
| 29 | 'name' => 'Jane Smith', |
||
| 30 | ], |
||
| 31 | ]; |
||
| 32 | |||
| 33 | private $photoData = [ |
||
| 34 | 1 => [ |
||
| 35 | 'photoId' => 1, |
||
| 36 | 'width' => 300, |
||
| 37 | ], |
||
| 38 | 2 => [ |
||
| 39 | 'photoId' => 2, |
||
| 40 | 'width' => 400, |
||
| 41 | ], |
||
| 42 | ]; |
||
| 43 | |||
| 44 | private $postData = [ |
||
| 45 | 1 => [ |
||
| 46 | 'id' => 1, |
||
| 47 | 'text' => 'lorem', |
||
| 48 | 'status' => 2, |
||
| 49 | ], |
||
| 50 | 2 => [ |
||
| 51 | 'id' => 2, |
||
| 52 | 'text' => 'ipsum', |
||
| 53 | 'status' => 1, |
||
| 54 | ], |
||
| 55 | ]; |
||
| 56 | |||
| 57 | public function __construct(TypeResolver $typeResolver) |
||
| 61 | |||
| 62 | public function idFetcher($globalId) |
||
| 74 | |||
| 75 | public function typeResolver($value) |
||
| 85 | |||
| 86 | public function resolveAllObjects() |
||
| 94 | } |
||
| 95 |