public static
getTypeFromValue(mixed $value): Type
Use PHPStan\Reflection\InitializerExprTypeResolver