Fix issue when returning null instead of a Type when trying to infer a node type
parent
7f8eccb5ae
commit
912e54dae2
|
@ -813,7 +813,9 @@ class DefinitionResolver
|
||||||
// Unknown
|
// Unknown
|
||||||
return new Types\Mixed;
|
return new Types\Mixed;
|
||||||
}
|
}
|
||||||
return null;
|
// Return Types\Mixed in case nothing was found
|
||||||
|
// TODO: Find cases that don't match any rule and handle them'
|
||||||
|
return new Types\Mixed;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue