Skip to content

Commit b211830

Browse files
committed
Fixing PHPStan
1 parent 00b0b47 commit b211830

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/AnnotationReader.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ public function getSourceFields(ReflectionClass $refClass): array
128128

129129
public function getFactoryAnnotation(ReflectionMethod $refMethod): ?Factory
130130
{
131-
$this->store[$refMethod->getDeclaringClass()->getName().'::'.$refMethod->getName()] = 1;
132131
/** @var Factory|null $factoryAnnotation */
133132
$factoryAnnotation = $this->getMethodAnnotation($refMethod, Factory::class);
134133
return $factoryAnnotation;

src/Mappers/GlobTypeMapper.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
use TheCodingMachine\GraphQLite\Annotations\Type;
1919
use TheCodingMachine\GraphQLite\InputTypeGenerator;
2020
use TheCodingMachine\GraphQLite\InputTypeUtils;
21+
use GraphQL\Type\Definition\InputType;
2122
use TheCodingMachine\GraphQLite\NamingStrategyInterface;
2223
use TheCodingMachine\GraphQLite\TypeGenerator;
2324
use TheCodingMachine\GraphQLite\Types\MutableObjectType;

0 commit comments

Comments
 (0)