protected function addWithAnyStatus(Builder $builder)
    {
        $builder->macro('withAnyStatus', function (Builder $builder) {
            $this->remove($builder, $builder->getModel());
            return $builder;
        });
    }
protected function addWithAnyStatus(Builder $builder)
    {
        $builder->macro('withAnyStatus', function (Builder $builder) {
            $this->remove($builder, $builder->getModel());
            return $builder;
        });
    }
protected function addWithAnyStatus ( Builder $ builder ) { $ builder -> macro ( 'withAnyStatus' , function ( Builder $ builder ) { $ this -> remove ( $ builder , $ builder -> getModel ( ) ) ; return $ builder ; } ) ; }
Add the with-any-status extension to the builder.

@param  \Illuminate\Database\Eloquent\Builder $builder

@return void
Add the with - any - status extension to the builder .