private function getPhpDataType(Field $field): string
    {
        $dataType = static::TYPE_MAP[$field->getDataType()];
        if ('Single' != $field->getDataStructure()) {
            $dataType .= '[]';
        }

        return $dataType;
    }
private function getPhpDataType(Field $field): string
    {
        $dataType = static::TYPE_MAP[$field->getDataType()];
        if ('Single' != $field->getDataStructure()) {
            $dataType .= '[]';
        }

        return $dataType;
    }
private function getPhpDataType ( Field $ field ) : string { $ dataType = static :: TYPE_MAP [ $ field -> getDataType ( ) ] ; if ( 'Single' != $ field -> getDataStructure ( ) ) { $ dataType .= '[]' ; } return $ dataType ; }
Get the PHP data type for a field, including mapping to arrays.

@param Field $field

@return string
Get the PHP data type for a field including mapping to arrays .