original_string: public function idsToMongo(array $ids)
      {
          foreach ($ids as &$id) {
              $id = $this->idToMongo($id);
          }
  
          return $ids;
      }
code: public function idsToMongo(array $ids)
      {
          foreach ($ids as &$id) {
              $id = $this->idToMongo($id);
          }
  
          return $ids;
      }
code_tokens: public function idsToMongo ( array $ ids ) { foreach ( $ ids as & $ id ) { $ id = $ this -> idToMongo ( $ id ) ; } return $ ids ; }
docstring: Converts an array of ids to use in Mongo.
  
  @param array $ids An array of ids.
  
  @return array The array of ids converted.
docstring_tokens: Converts an array of ids to use in Mongo .