original_string: public function add_param($name, $value, $id = null) {
          if (!$id) {
              $id = $name;
          }
          $this->params[] = [
              'name' => $name,
              'value' => $value,
              'id' => $id
          ];
      }
code: public function add_param($name, $value, $id = null) {
          if (!$id) {
              $id = $name;
          }
          $this->params[] = [
              'name' => $name,
              'value' => $value,
              'id' => $id
          ];
      }
code_tokens: public function add_param ( $ name , $ value , $ id = null ) { if ( ! $ id ) { $ id = $ name ; } $ this -> params [ ] = [ 'name' => $ name , 'value' => $ value , 'id' => $ id ] ; }
docstring: Add a parameter to submit with the form.
  
  @param string $name The parameter name.
  @param string $value The parameter value.
  @param string $id The parameter ID.
docstring_tokens: Add a parameter to submit with the form .