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 */ |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | * @param string $type |
| 93 | 93 | * @param SplFileInfo[] $files |
| 94 | 94 | * @param ContainerBuilder $container |
| 95 | - * @param array $config |
|
| 95 | + * @param array $configs |
|
| 96 | 96 | */ |
| 97 | 97 | private function preParseTypeConfigFiles($type, $files, ContainerBuilder $container, array $configs): void |
| 98 | 98 | { |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | * @param $type |
| 114 | 114 | * @param SplFileInfo[] $files |
| 115 | 115 | * @param ContainerBuilder $container |
| 116 | - * @param array $config |
|
| 116 | + * @param array $configs |
|
| 117 | 117 | * |
| 118 | 118 | * @return array |
| 119 | 119 | */ |
@@ -20,6 +20,9 @@ |
||
| 20 | 20 | /** @var ConstraintViolationListInterface */ |
| 21 | 21 | private $errors = []; |
| 22 | 22 | |
| 23 | + /** |
|
| 24 | + * @param string $name |
|
| 25 | + */ |
|
| 23 | 26 | public function __construct($name, ConstraintViolationListInterface $errors, $message = '', $code = 0, \Exception $previous = null) |
| 24 | 27 | { |
| 25 | 28 | $this->name = $name; |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | - * @return InvalidArgumentError[] |
|
| 24 | + * @return InvalidArgumentError |
|
| 25 | 25 | */ |
| 26 | 26 | public function getErrors() |
| 27 | 27 | { |
@@ -247,8 +247,7 @@ discard block |
||
| 247 | 247 | /** |
| 248 | 248 | * Create a GraphQL Interface type configuration from annotations on properties. |
| 249 | 249 | * |
| 250 | - * @param string $shortClassName |
|
| 251 | - * @param GQL\Interface $interfaceAnnotation |
|
| 250 | + * @param GQL\TypeInterface $interfaceAnnotation |
|
| 252 | 251 | * @param array $properties |
| 253 | 252 | * @param array $methods |
| 254 | 253 | * @param string $namespace |
@@ -273,7 +272,6 @@ discard block |
||
| 273 | 272 | /** |
| 274 | 273 | * Create a GraphQL Input type configuration from annotations on properties. |
| 275 | 274 | * |
| 276 | - * @param string $shortClassName |
|
| 277 | 275 | * @param GQL\Input $inputAnnotation |
| 278 | 276 | * @param array $properties |
| 279 | 277 | * @param string $namespace |
@@ -294,7 +292,6 @@ discard block |
||
| 294 | 292 | /** |
| 295 | 293 | * Get a Graphql scalar configuration from given scalar annotation. |
| 296 | 294 | * |
| 297 | - * @param string $shortClassName |
|
| 298 | 295 | * @param string $className |
| 299 | 296 | * @param GQL\Scalar $scalarAnnotation |
| 300 | 297 | * @param array $classAnnotations |
@@ -323,7 +320,6 @@ discard block |
||
| 323 | 320 | /** |
| 324 | 321 | * Get a Graphql Enum configuration from given enum annotation. |
| 325 | 322 | * |
| 326 | - * @param string $shortClassName |
|
| 327 | 323 | * @param GQL\Enum $enumAnnotation |
| 328 | 324 | * @param array $classAnnotations |
| 329 | 325 | * @param array $constants |
@@ -536,8 +532,6 @@ discard block |
||
| 536 | 532 | * Return fields config from Provider methods. |
| 537 | 533 | * |
| 538 | 534 | * @param string $className |
| 539 | - * @param array $methods |
|
| 540 | - * @param bool $isMutation |
|
| 541 | 535 | * |
| 542 | 536 | * @return array |
| 543 | 537 | */ |