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