File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 12
12
use GraphQL \Type \Definition \Type ;
13
13
use Overblog \GraphQLBundle \Error \InvalidArgumentError ;
14
14
use Overblog \GraphQLBundle \Error \InvalidArgumentsError ;
15
+ use ReflectionClass ;
15
16
use Symfony \Component \PropertyAccess \PropertyAccess ;
16
17
use Symfony \Component \PropertyAccess \PropertyAccessor ;
17
18
use Symfony \Component \Validator \ConstraintViolationList ;
@@ -46,7 +47,7 @@ private function getTypeClassInstance(string $type)
46
47
{
47
48
$ classname = isset ($ this ->classesMap [$ type ]) ? $ this ->classesMap [$ type ]['class ' ] : false ;
48
49
49
- return $ classname ? (new \ ReflectionClass ($ classname ))->newInstanceWithoutConstructor () : false ;
50
+ return $ classname ? (new ReflectionClass ($ classname ))->newInstanceWithoutConstructor () : false ;
50
51
}
51
52
52
53
/**
You can’t perform that action at this time.
0 commit comments