original_string: public function setParam($name, $value): void
      {
          if (\is_array($this->params)) {
              // Arrays or objects implementing array access
              $this->params[$name] = $value;
          } else {
              // Objects
              $this->params->{$name} = $value;
          }
      }
code: public function setParam($name, $value): void
      {
          if (\is_array($this->params)) {
              // Arrays or objects implementing array access
              $this->params[$name] = $value;
          } else {
              // Objects
              $this->params->{$name} = $value;
          }
      }
code_tokens: public function setParam ( $ name , $ value ) : void { if ( \ is_array ( $ this -> params ) ) { // Arrays or objects implementing array access $ this -> params [ $ name ] = $ value ; } else { // Objects $ this -> params -> { $ name } = $ value ; } }
docstring: Set an individual parameter to a value
  
  @param  string|int $name
  @param  mixed      $value
  
  @return void
docstring_tokens: Set an individual parameter to a value