Phan\Language\UnionType::hasType PHP Метод