From e49822dec6053213ed76c5662ddea3474f11b6ce Mon Sep 17 00:00:00 2001 From: foxman209 Date: Thu, 4 Jan 2018 18:23:29 +0800 Subject: [PATCH] update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 056d60b0f..ab49d0093 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ to fetch all your closed issue with pagination ( on the gitlab api ) $client = \Gitlab\Client::create('http://git.yourdomain.com/') ->authenticate('your_gitlab_token_here', \Gitlab\Client::AUTH_URL_TOKEN) ; -$pager = new ResultPager($client); +$pager = new \Gitlab\ResultPager($client); $issues = $pager->fetchall($client->api('issues'),'all',[null, ['state' => 'closed']]); ```