Skip to content

Commit e2f29bb

Browse files
committed
Fix code style
1 parent f4c3963 commit e2f29bb

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/Config/Parser/AnnotationParser.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
namespace Overblog\GraphQLBundle\Config\Parser;
66

77
use Doctrine\Common\Annotations\AnnotationException;
8-
use Doctrine\Common\Collections\Collection;
98
use Doctrine\ORM\Mapping\Column;
109
use Doctrine\ORM\Mapping\JoinColumn;
1110
use Doctrine\ORM\Mapping\ManyToMany;
@@ -644,7 +643,6 @@ private static function getGraphQLInputFieldsFromAnnotations(GraphClass $graphCl
644643
$fieldType = self::guessType($graphClass, $reflector, self::VALID_INPUT_TYPES);
645644
} catch (Exception $e) {
646645
throw new InvalidArgumentException(sprintf('The attribute "type" on GraphQL annotation "@%s" is missing on property "%s" and cannot be auto-guessed as there is no type hint or Doctrine annotation.', GQL\Field::class, $reflector->getName()));
647-
648646
}
649647
}
650648
$fieldConfiguration = [];

tests/Config/Parser/fixtures/annotations/Input/Planet.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ class Planet
3636
protected $diameter;
3737

3838
/**
39-
* @GQL\Field
40-
* @ORM\Column(type="boolean")
41-
*/
39+
* @GQL\Field
40+
* @ORM\Column(type="boolean")
41+
*/
4242
protected int $variable;
4343

4444
// @phpstan-ignore-next-line

0 commit comments

Comments
 (0)