protected function addWithNotInvited(Builder $builder): void
    {
        $builder->macro('withNotInvited', function (Builder $builder) {
            return $builder->withoutGlobalScope($this);
        });
    }
protected function addWithNotInvited(Builder $builder): void
    {
        $builder->macro('withNotInvited', function (Builder $builder) {
            return $builder->withoutGlobalScope($this);
        });
    }
protected function addWithNotInvited ( Builder $ builder ) : void { $ builder -> macro ( 'withNotInvited' , function ( Builder $ builder ) { return $ builder -> withoutGlobalScope ( $ this ) ; } ) ; }
Add the `withNotInvited` extension to the builder.

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