1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Remove 7.0-incompatible type

This commit is contained in:
Matthew Brown 2019-01-27 18:43:36 -05:00
parent 89999fd554
commit 2d32e4b92a

View File

@ -375,10 +375,7 @@ class Reflection
}
}
/**
* @return Type\Union
*/
public static function getPsalmTypeFromReflectionType(?\ReflectionType $reflection_type)
public static function getPsalmTypeFromReflectionType(\ReflectionType $reflection_type = null) : Type\Union
{
if (!$reflection_type) {
return Type::getMixed();