From cd81689119f5f085168318f7fd473cf9ca167b5a Mon Sep 17 00:00:00 2001 From: Alexandre Hocquard Date: Wed, 27 Jun 2018 09:49:47 +0200 Subject: [PATCH 1/2] Fix readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 49043d21..b21ae7c4 100644 --- a/README.md +++ b/README.md @@ -87,14 +87,14 @@ $searchFilters = $searchBuilder->getFilters(); $firstPage = $client->getProductApi()->listPerPage(50, true, ['search' => $searchFilters]); -echo $page->getCount(); +echo $firstPage->getCount(); -foreach ($page->getItems() as $product) { +foreach ($firstPage->getItems() as $product) { // do your stuff here echo $product['identifier']; } -$nextPage = $page->getNextPage(); +$nextPage = $firstPage->getNextPage(); $firstPage = $nextPage->getPreviousPage(); ``` From e7cf6b9b75b24938595bf070e4838d2fa7b93a94 Mon Sep 17 00:00:00 2001 From: Alexandre Hocquard Date: Wed, 27 Jun 2018 09:50:07 +0200 Subject: [PATCH 2/2] Delete branch aliases --- composer.json | 6 ------ 1 file changed, 6 deletions(-) diff --git a/composer.json b/composer.json index 4de97879..86a47ecd 100644 --- a/composer.json +++ b/composer.json @@ -41,11 +41,5 @@ }, "suggest": { "php-http/guzzle6-adapter": "In order to use Guzzle v6 as the HTTP client" - }, - "extra": { - "branch-alias": { - "dev-master": "1.1.x-dev", - "dev-1.0": "1.0.x-dev" - } } }