original_string: public function set_pinned(int $targetstate): void {
          if ($targetstate != $this->pinned) {
              $this->pinned = $targetstate;
          }
      }
code: public function set_pinned(int $targetstate): void {
          if ($targetstate != $this->pinned) {
              $this->pinned = $targetstate;
          }
      }
code_tokens: public function set_pinned ( int $ targetstate ) : void { if ( $ targetstate != $ this -> pinned ) { $ this -> pinned = $ targetstate ; } }
docstring: Set the pinned value for this entity
  
  @param int $targetstate The state to change the pin to
  @return bool
docstring_tokens: Set the pinned value for this entity