getTypes() as $type) { if (!$type instanceof GenericClassStringType) { return \false; } } return \true; } }