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