| Total Complexity | 1 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class CoroutineContextShared |
||
| 17 | { |
||
| 18 | /** @var FieldNode[] */ |
||
| 19 | public $fieldNodes; |
||
| 20 | |||
| 21 | /** @var string */ |
||
| 22 | public $fieldName; |
||
| 23 | |||
| 24 | /** @var string */ |
||
| 25 | public $resultName; |
||
| 26 | |||
| 27 | /** @var ValueNode[]|null */ |
||
| 28 | public $argumentValueMap; |
||
| 29 | |||
| 30 | /** @var SelectionSetNode|null */ |
||
| 31 | public $mergedSelectionSet; |
||
| 32 | |||
| 33 | /** @var ObjectType|null */ |
||
| 34 | public $typeGuard1; |
||
| 35 | |||
| 36 | /** @var callable|null */ |
||
| 37 | public $resolveIfType1; |
||
| 38 | |||
| 39 | /** @var mixed */ |
||
| 40 | public $argumentsIfType1; |
||
| 41 | |||
| 42 | /** @var ResolveInfo|null */ |
||
| 43 | public $resolveInfoIfType1; |
||
| 44 | |||
| 45 | /** @var ObjectType|null */ |
||
| 46 | public $typeGuard2; |
||
| 47 | |||
| 48 | /** @var CoroutineContext[]|null */ |
||
| 49 | public $childContextsIfType2; |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @param FieldNode[] $fieldNodes |
||
| 53 | * @param mixed[]|null $argumentValueMap |
||
| 54 | */ |
||
| 55 | 13 | public function __construct(array $fieldNodes, string $fieldName, string $resultName, ?array $argumentValueMap) |
|
| 63 |