in src/Apache/Ignite/Internal/Binary/BinaryUtils.php [301:313]
public static function getArrayElementType($arrayType)
{
if ($arrayType instanceof ObjectArrayType) {
return $arrayType->getElementType();
} elseif ($arrayType === ObjectType::OBJECT_ARRAY) {
return null;
}
$info = TypeInfo::getTypeInfo($arrayType);
if (!$info || !$info->getElementTypeCode()) {
BinaryUtils::internalError();
}
return $info->getElementTypeCode();
}