original_string: public function setSlug($slug)
      {
          if ($slug !== null) {
              $slug = (string) $slug;
          }
  
          $this->slug = $slug;
      }
code: public function setSlug($slug)
      {
          if ($slug !== null) {
              $slug = (string) $slug;
          }
  
          $this->slug = $slug;
      }
code_tokens: public function setSlug ( $ slug ) { if ( $ slug !== null ) { $ slug = ( string ) $ slug ; } $ this -> slug = $ slug ; }
docstring: Setting to null should regenerate the slug
  
  @param string|null $slug
docstring_tokens: Setting to null should regenerate the slug