changed extend to laravel\paginator