original_string: public function reset($force = false)
      {
          $this->isBroadcast = false;
          $this->to = [];
  
          if ($force) {
              $this->sender = null;
              $this->userId = null;
          }
  
          return $this;
      }
code: public function reset($force = false)
      {
          $this->isBroadcast = false;
          $this->to = [];
  
          if ($force) {
              $this->sender = null;
              $this->userId = null;
          }
  
          return $this;
      }
code_tokens: public function reset ( $ force = false ) { $ this -> isBroadcast = false ; $ this -> to = [ ] ; if ( $ force ) { $ this -> sender = null ; $ this -> userId = null ; } return $ this ; }
docstring: Reset some data status.
  
  @param bool $force
  
  @return $this
docstring_tokens: Reset some data status .