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 1212use GraphQL \Type \Definition \Type ;
1313use Overblog \GraphQLBundle \Error \InvalidArgumentError ;
1414use Overblog \GraphQLBundle \Error \InvalidArgumentsError ;
15+ use ReflectionClass ;
1516use Symfony \Component \PropertyAccess \PropertyAccess ;
1617use Symfony \Component \PropertyAccess \PropertyAccessor ;
1718use Symfony \Component \Validator \ConstraintViolationList ;
@@ -46,7 +47,7 @@ private function getTypeClassInstance(string $type)
4647 {
4748 $ classname = isset ($ this ->classesMap [$ type ]) ? $ this ->classesMap [$ type ]['class ' ] : false ;
4849
49- return $ classname ? (new \ ReflectionClass ($ classname ))->newInstanceWithoutConstructor () : false ;
50+ return $ classname ? (new ReflectionClass ($ classname ))->newInstanceWithoutConstructor () : false ;
5051 }
5152
5253 /**
You can’t perform that action at this time.
0 commit comments