original_string: public function disableReset(bool $disable = true)
      {
          if ($disable) {
              array_delete($this->buttons, 'reset');
          } elseif (!in_array('reset', $this->buttons)) {
              array_push($this->buttons, 'reset');
          }
  
          return $this;
      }
code: public function disableReset(bool $disable = true)
      {
          if ($disable) {
              array_delete($this->buttons, 'reset');
          } elseif (!in_array('reset', $this->buttons)) {
              array_push($this->buttons, 'reset');
          }
  
          return $this;
      }
code_tokens: public function disableReset ( bool $ disable = true ) { if ( $ disable ) { array_delete ( $ this -> buttons , 'reset' ) ; } elseif ( ! in_array ( 'reset' , $ this -> buttons ) ) { array_push ( $ this -> buttons , 'reset' ) ; } return $ this ; }
docstring: Disable reset button.
  
  @return $this
docstring_tokens: Disable reset button .