We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | * Create a GraphQL Type configuration from annotations on class, properties and methods |
| 113 | 113 | * |
| 114 | 114 | * @param string $shortClassName |
| 115 | - * @param Annotation $typeAnnotation |
|
| 115 | + * @param \Overblog\GraphQLBundle\Annotation\Type $typeAnnotation |
|
| 116 | 116 | * @param Annotation[] $classAnnotations |
| 117 | 117 | * @param Annotation[] $propertiesAnnotations |
| 118 | 118 | * @param Annotation[] $methodsAnnotations |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | * Create a GraphQL Interface type configuration from annotations on properties |
| 156 | 156 | * |
| 157 | 157 | * @param string $shortClassName |
| 158 | - * @param Annotation $interfaceAnnotation |
|
| 158 | + * @param \Overblog\GraphQLBundle\Annotation\TypeInterface $interfaceAnnotation |
|
| 159 | 159 | * @param Annotation[] $propertiesAnnotations |
| 160 | 160 | * |
| 161 | 161 | * @return array |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | * Create a GraphQL Input type configuration from annotations on properties |
| 183 | 183 | * |
| 184 | 184 | * @param string $shortClassName |
| 185 | - * @param Annotation $inputAnnotation |
|
| 185 | + * @param \Overblog\GraphQLBundle\Annotation\InputType $inputAnnotation |
|
| 186 | 186 | * @param Annotation[] $propertiesAnnotations |
| 187 | 187 | * |
| 188 | 188 | * @return array |
@@ -208,7 +208,7 @@ discard block |
||
| 208 | 208 | * |
| 209 | 209 | * @param string $shortClassName |
| 210 | 210 | * @param string $className |
| 211 | - * @param Annotation $scalarAnnotation |
|
| 211 | + * @param \Overblog\GraphQLBundle\Annotation\Scalar $scalarAnnotation |
|
| 212 | 212 | * |
| 213 | 213 | * @return array |
| 214 | 214 | */ |
@@ -236,7 +236,7 @@ discard block |
||
| 236 | 236 | * Get a Graphql Enum configuration from given enum annotation |
| 237 | 237 | * |
| 238 | 238 | * @param string $shortClassName |
| 239 | - * @param Annotation $enumAnnotation |
|
| 239 | + * @param \Overblog\GraphQLBundle\Annotation\Enum $enumAnnotation |
|
| 240 | 240 | * |
| 241 | 241 | * @return array |
| 242 | 242 | */ |
@@ -275,7 +275,7 @@ discard block |
||
| 275 | 275 | * Get a Graphql Union configuration from given union annotation |
| 276 | 276 | * |
| 277 | 277 | * @param string $shortClassName |
| 278 | - * @param Annotation $unionAnnotation |
|
| 278 | + * @param \Overblog\GraphQLBundle\Annotation\Union $unionAnnotation |
|
| 279 | 279 | * |
| 280 | 280 | * @return array |
| 281 | 281 | */ |
@@ -295,7 +295,7 @@ discard block |
||
| 295 | 295 | * @param boolean $isInput |
| 296 | 296 | * @param boolean $isMethod |
| 297 | 297 | * |
| 298 | - * @return array |
|
| 298 | + * @return Annotation[] |
|
| 299 | 299 | */ |
| 300 | 300 | private static function getGraphqlFieldsFromAnnotations($annotations, $isInput = false, $isMethod = false) : array |
| 301 | 301 | { |
@@ -414,7 +414,6 @@ discard block |
||
| 414 | 414 | /** |
| 415 | 415 | * Get the config for description & deprecation reason |
| 416 | 416 | * |
| 417 | - * @param Annotation $descriptionAnnotation |
|
| 418 | 417 | * |
| 419 | 418 | * @return array |
| 420 | 419 | */ |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | namespace Overblog\GraphQLBundle\Config\Parser; |
| 6 | 6 | |
| 7 | -use Composer\Autoload\ClassLoader; |
|
| 8 | 7 | use Doctrine\Common\Annotations\AnnotationReader; |
| 9 | 8 | use Doctrine\Common\Annotations\AnnotationRegistry; |
| 10 | 9 | use Symfony\Component\Config\Resource\FileResource; |