protected function addUndoKeep(Builder $builder): void
    {
        $builder->macro('undoKeep', function (Builder $builder) {
            return $builder->update(['is_kept' => 0]);
        });
    }
protected function addUndoKeep(Builder $builder): void
    {
        $builder->macro('undoKeep', function (Builder $builder) {
            return $builder->update(['is_kept' => 0]);
        });
    }
protected function addUndoKeep ( Builder $ builder ) : void { $ builder -> macro ( 'undoKeep' , function ( Builder $ builder ) { return $ builder -> update ( [ 'is_kept' => 0 ] ) ; } ) ; }
Add the `undoKeep` extension to the builder.

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