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'])) { |
@@ -59,6 +59,9 @@ |
||
| 59 | 59 | return $this->processFilter($result, $accessChecker, $resolveArgs); |
| 60 | 60 | } |
| 61 | 61 | |
| 62 | + /** |
|
| 63 | + * @param callable $accessChecker |
|
| 64 | + */ |
|
| 62 | 65 | private function processFilter($result, $accessChecker, $resolveArgs) |
| 63 | 66 | { |
| 64 | 67 | /** @var ResolveInfo $resolveInfo */ |