1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

Remove 7.0-incompatible type

This commit is contained in:
Matthew Brown 2019-01-27 18:31:40 -05:00
parent 672b768cc5
commit 0574e06a42

View File

@ -416,7 +416,10 @@ class Codebase
}
}
public static function getPsalmTypeFromReflection(?\ReflectionType $type) : Type\Union
/**
* @param ?\ReflectionType $type
*/
public static function getPsalmTypeFromReflection($type) : Type\Union
{
return \Psalm\Internal\Codebase\Reflection::getPsalmTypeFromReflectionType($type);
}