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

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