1
0
Fork 0

Fix issue when returning null instead of a Type when trying to infer a node type

pull/328/head
Sébastien Muller 2017-03-03 10:43:39 +01:00
parent 7f8eccb5ae
commit 912e54dae2
1 changed files with 3 additions and 1 deletions

View File

@ -813,7 +813,9 @@ class DefinitionResolver
// Unknown
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;
}
/**