original_string: public function hasKey()
      {
          $this->failIf(!array_key_exists($this->data[1], $this->data[0]));
  
          return $this->data[0][$this->data[1]];
      }
code: public function hasKey()
      {
          $this->failIf(!array_key_exists($this->data[1], $this->data[0]));
  
          return $this->data[0][$this->data[1]];
      }
code_tokens: public function hasKey ( ) { $ this -> failIf ( ! array_key_exists ( $ this -> data [ 1 ] , $ this -> data [ 0 ] ) ) ; return $ this -> data [ 0 ] [ $ this -> data [ 1 ] ] ; }
docstring: Assert an array has key, returns value.
  
  @syntax array ?:array has key ?:int,string
  @throws DidNotMatchException
  @return mixed
docstring_tokens: Assert an array has key returns value .