original_string: public function reset($formName = false)
      {
          if (is_bool($formName))
              $formName = $this->currentFormName;
  
          if (array_key_exists($formName, $this->validationRules)) {
              $this->validationRules[$formName] = [];
          }
      }
code: public function reset($formName = false)
      {
          if (is_bool($formName))
              $formName = $this->currentFormName;
  
          if (array_key_exists($formName, $this->validationRules)) {
              $this->validationRules[$formName] = [];
          }
      }
code_tokens: public function reset ( $ formName = false ) { if ( is_bool ( $ formName ) ) $ formName = $ this -> currentFormName ; if ( array_key_exists ( $ formName , $ this -> validationRules ) ) { $ this -> validationRules [ $ formName ] = [ ] ; } }
docstring: Reset validation rules.
  
  @param string|bool $formName Form name
docstring_tokens: Reset validation rules .