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:
parent
89999fd554
commit
2d32e4b92a
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user