protected function addWithoutNotActivated(Builder $builder): void
    {
        $builder->macro('withoutNotActivated', function (Builder $builder) {
            return $builder->withoutGlobalScope($this)->where('is_active', 1);
        });
    }
protected function addWithoutNotActivated(Builder $builder): void
    {
        $builder->macro('withoutNotActivated', function (Builder $builder) {
            return $builder->withoutGlobalScope($this)->where('is_active', 1);
        });
    }
protected function addWithoutNotActivated ( Builder $ builder ) : void { $ builder -> macro ( 'withoutNotActivated' , function ( Builder $ builder ) { return $ builder -> withoutGlobalScope ( $ this ) -> where ( 'is_active' , 1 ) ; } ) ; }
Add the `withoutNotActivated` extension to the builder.

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