original_string: protected function setErrors($response, $key)
      {
          foreach ($response->{$key} as $error) {
              $this->setError($error->code, $error->description);
          }
      }
code: protected function setErrors($response, $key)
      {
          foreach ($response->{$key} as $error) {
              $this->setError($error->code, $error->description);
          }
      }
code_tokens: protected function setErrors ( $ response , $ key ) { foreach ( $ response -> { $ key } as $ error ) { $ this -> setError ( $ error -> code , $ error -> description ) ; } }
docstring: Set errors from response
  
  @param  array  $response
  @param  string  $key
  @return void
docstring_tokens: Set errors from response