original_string: protected function addKeep(Builder $builder): void
      {
          $builder->macro('keep', function (Builder $builder) {
              $builder->withNotKept();
  
              return $builder->update(['is_kept' => 1]);
          });
      }
code: protected function addKeep(Builder $builder): void
      {
          $builder->macro('keep', function (Builder $builder) {
              $builder->withNotKept();
  
              return $builder->update(['is_kept' => 1]);
          });
      }
code_tokens: protected function addKeep ( Builder $ builder ) : void { $ builder -> macro ( 'keep' , function ( Builder $ builder ) { $ builder -> withNotKept ( ) ; return $ builder -> update ( [ 'is_kept' => 1 ] ) ; } ) ; }
docstring: Add the `keep` extension to the builder.
  
  @param \Illuminate\Database\Eloquent\Builder $builder
  @return void
docstring_tokens: Add the keep extension to the builder .