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

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