original_string: protected function addUndoClose(Builder $builder): void
      {
          $builder->macro('undoClose', function (Builder $builder) {
              $builder->withClosed();
  
              return $builder->update(['is_closed' => 0]);
          });
      }
code: protected function addUndoClose(Builder $builder): void
      {
          $builder->macro('undoClose', function (Builder $builder) {
              $builder->withClosed();
  
              return $builder->update(['is_closed' => 0]);
          });
      }
code_tokens: protected function addUndoClose ( Builder $ builder ) : void { $ builder -> macro ( 'undoClose' , function ( Builder $ builder ) { $ builder -> withClosed ( ) ; return $ builder -> update ( [ 'is_closed' => 0 ] ) ; } ) ; }
docstring: Add the `undoClose` extension to the builder.
  
  @param \Illuminate\Database\Eloquent\Builder $builder
  @return void
docstring_tokens: Add the undoClose extension to the builder .