original_string: protected function addRestore(Builder $builder)
      {
          $builder->macro('restore', function(Builder $builder)
          {
              $builder->withTrashed();
  
              return $builder->update(array($builder->getModel()->getDeletedAtColumn() => null));
          });
      }
code: protected function addRestore(Builder $builder)
      {
          $builder->macro('restore', function(Builder $builder)
          {
              $builder->withTrashed();
  
              return $builder->update(array($builder->getModel()->getDeletedAtColumn() => null));
          });
      }
code_tokens: protected function addRestore ( Builder $ builder ) { $ builder -> macro ( 'restore' , function ( Builder $ builder ) { $ builder -> withTrashed ( ) ; return $ builder -> update ( array ( $ builder -> getModel ( ) -> getDeletedAtColumn ( ) => null ) ) ; } ) ; }
docstring: Add the restore extension to the builder.
  
  @param  \Nova\Database\ORM\Builder  $builder
  @return void
docstring_tokens: Add the restore extension to the builder .