original_string: protected function addData($key, $data = null)
      {
          $this->data[self::RS_KEY_DATA]->{$key} = $data;
      }
code: protected function addData($key, $data = null)
      {
          $this->data[self::RS_KEY_DATA]->{$key} = $data;
      }
code_tokens: protected function addData ( $ key , $ data = null ) { $ this -> data [ self :: RS_KEY_DATA ] -> { $ key } = $ data ; }
docstring: Add data to result object
  
  @param string $key
  @param null|string|array|\stdClass $data
docstring_tokens: Add data to result object