original_string: public function findIndexInArray($indexname) {
          foreach ($this->indexes as $i => $index) {
              if ($indexname == $index->getName()) {
                  return $i;
              }
          }
          return null;
      }
code: public function findIndexInArray($indexname) {
          foreach ($this->indexes as $i => $index) {
              if ($indexname == $index->getName()) {
                  return $i;
              }
          }
          return null;
      }
code_tokens: public function findIndexInArray ( $ indexname ) { foreach ( $ this -> indexes as $ i => $ index ) { if ( $ indexname == $ index -> getName ( ) ) { return $ i ; } } return null ; }
docstring: Returns the position of one index in the array.
  @param string $indexname
  @return int|null index of the index, or null if not found.
docstring_tokens: Returns the position of one index in the array .