Skip to content

Commit 7868ddb

Browse files
fix static analysis
1 parent a8291b9 commit 7868ddb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Support/TypeToSchemaExtensions/ArrayableToSchema.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function shouldHandle(Type $type): bool
3333
return $type instanceof ObjectType
3434
&& $type->isInstanceOf(Arrayable::class)
3535
&& ! $type->isInstanceOf(Collection::class) // handled in its own extension
36-
&& ((new \ReflectionClass($type->name))->isInstantiable());
36+
&& ((new \ReflectionClass($type->name))->isInstantiable()); // @phpstan-ignore argument.type
3737
}
3838

3939
/**

0 commit comments

Comments
 (0)