original_string: public function updateQueueState(int $state)
      {
          if ($this->isQueueable()) {
              $this->getInstance()
                  ->getConnection()
                  ->table($this->getInstance()->getTable())
                  ->where($this->getInstance()->getQualifiedKeyName(), $this->getInstance()->getKey())
                  ->update([
                      "{$this->name}_queue_state" => $state,
                  ]);
          }
      }
code: public function updateQueueState(int $state)
      {
          if ($this->isQueueable()) {
              $this->getInstance()
                  ->getConnection()
                  ->table($this->getInstance()->getTable())
                  ->where($this->getInstance()->getQualifiedKeyName(), $this->getInstance()->getKey())
                  ->update([
                      "{$this->name}_queue_state" => $state,
                  ]);
          }
      }
code_tokens: public function updateQueueState ( int $ state ) { if ( $ this -> isQueueable ( ) ) { $ this -> getInstance ( ) -> getConnection ( ) -> table ( $ this -> getInstance ( ) -> getTable ( ) ) -> where ( $ this -> getInstance ( ) -> getQualifiedKeyName ( ) , $ this -> getInstance ( ) -> getKey ( ) ) -> update ( [ "{$this->name}_queue_state" => $ state , ] ) ; } }
docstring: Use the model's connecting and table to quickly update the queue state and
  bypass the save event in the model to prevent an event loop.
  
  @param int $state
  
  @return void
docstring_tokens: Use the model s connecting and table to quickly update the queue state and bypass the save event in the model to prevent an event loop .