original_string: public function inferType($type)
      {
          if (DataTypes::isPrimitive($type)) {
              return $type;
          } elseif (DataTypes::COLLECTION === strtolower($type)) {
              return $type;
          }
          return DataTypes::STRING;
      }
code: public function inferType($type)
      {
          if (DataTypes::isPrimitive($type)) {
              return $type;
          } elseif (DataTypes::COLLECTION === strtolower($type)) {
              return $type;
          }
          return DataTypes::STRING;
      }
code_tokens: public function inferType ( $ type ) { if ( DataTypes :: isPrimitive ( $ type ) ) { return $ type ; } elseif ( DataTypes :: COLLECTION === strtolower ( $ type ) ) { return $ type ; } return DataTypes :: STRING ; }
docstring: Convert the type.
  
  @param string $type The type name.
  
  @return string
docstring_tokens: Convert the type .