original_string: protected function addUndoDraft(Builder $builder): void
      {
          $builder->macro('undoDraft', function (Builder $builder) {
              $builder->withDrafted();
  
              return $builder->update(['drafted_at' => null]);
          });
      }
code: protected function addUndoDraft(Builder $builder): void
      {
          $builder->macro('undoDraft', function (Builder $builder) {
              $builder->withDrafted();
  
              return $builder->update(['drafted_at' => null]);
          });
      }
code_tokens: protected function addUndoDraft ( Builder $ builder ) : void { $ builder -> macro ( 'undoDraft' , function ( Builder $ builder ) { $ builder -> withDrafted ( ) ; return $ builder -> update ( [ 'drafted_at' => null ] ) ; } ) ; }
docstring: Add the `undoDraft` extension to the builder.
  
  @param \Illuminate\Database\Eloquent\Builder $builder
  @return void
docstring_tokens: Add the undoDraft extension to the builder .