We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -95,7 +95,7 @@ |
||
95 | 95 | * @param GraphQLError[] $errors |
96 | 96 | * @param bool $throwRawException |
97 | 97 | * |
98 | - * @return array |
|
98 | + * @return callable |
|
99 | 99 | * |
100 | 100 | * @throws \Error|\Exception |
101 | 101 | */ |
@@ -42,6 +42,9 @@ |
||
42 | 42 | return $this->call('parseLiteral', $valueNode); |
43 | 43 | } |
44 | 44 | |
45 | + /** |
|
46 | + * @param string $type |
|
47 | + */ |
|
45 | 48 | private function call($type, $value) |
46 | 49 | { |
47 | 50 | if (isset($this->config['scalarType'])) { |
@@ -82,6 +82,9 @@ |
||
82 | 82 | return $covered; |
83 | 83 | } |
84 | 84 | |
85 | + /** |
|
86 | + * @param callable[] $map |
|
87 | + */ |
|
85 | 88 | private function checkMap($map): void |
86 | 89 | { |
87 | 90 | if (!\is_array($map) && !($map instanceof \ArrayAccess && $map instanceof \Traversable)) { |
@@ -63,6 +63,9 @@ |
||
63 | 63 | return \call_user_func_array($resolveCallback, $resolveArgs); |
64 | 64 | } |
65 | 65 | |
66 | + /** |
|
67 | + * @param callable $accessChecker |
|
68 | + */ |
|
66 | 69 | private function processFilter($result, $accessChecker, $resolveArgs) |
67 | 70 | { |
68 | 71 | /** @var ResolveInfo $resolveInfo */ |