original_string: public function attachTag($id)
      {
          if ( ! $this->tags->contains($id))
          {
              return $this->tags()->attach($id);
          }
      }
code: public function attachTag($id)
      {
          if ( ! $this->tags->contains($id))
          {
              return $this->tags()->attach($id);
          }
      }
code_tokens: public function attachTag ( $ id ) { if ( ! $ this -> tags -> contains ( $ id ) ) { return $ this -> tags ( ) -> attach ( $ id ) ; } }
docstring: Links a tag to the node
  
  @param int $id
docstring_tokens: Links a tag to the node