protected function addUndoAccept(Builder $builder): void
    {
        $builder->macro('undoAccept', function (Builder $builder) {
            return $builder->update(['accepted_at' => null]);
        });
    }
protected function addUndoAccept(Builder $builder): void
    {
        $builder->macro('undoAccept', function (Builder $builder) {
            return $builder->update(['accepted_at' => null]);
        });
    }
protected function addUndoAccept ( Builder $ builder ) : void { $ builder -> macro ( 'undoAccept' , function ( Builder $ builder ) { return $ builder -> update ( [ 'accepted_at' => null ] ) ; } ) ; }
Add the `undoAccept` extension to the builder.

@param \Illuminate\Database\Eloquent\Builder $builder
@return void
Add the undoAccept extension to the builder .