From 4a8e15955dd858a554d31122c1c84e42976ce2f7 Mon Sep 17 00:00:00 2001 From: Jarrod Swift Date: Wed, 24 Mar 2021 15:46:57 +1030 Subject: [PATCH 1/2] Make the signature for BatchUpdateResource::multipleResourcesEndpoint protected to match ResourceApi. Fixes #39 --- src/BigCommerce/Api/Generic/BatchUpdateResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BigCommerce/Api/Generic/BatchUpdateResource.php b/src/BigCommerce/Api/Generic/BatchUpdateResource.php index f80e2d88..d5c731dc 100644 --- a/src/BigCommerce/Api/Generic/BatchUpdateResource.php +++ b/src/BigCommerce/Api/Generic/BatchUpdateResource.php @@ -10,7 +10,7 @@ trait BatchUpdateResource { abstract public function batchUpdate(array $resources): PaginatedResponse; - abstract public function multipleResourcesEndpoint(): string; + abstract protected function multipleResourcesEndpoint(): string; abstract public function getClient(): Client; protected function maxBatchSize(): int From 98bbfd8fa4b54f2e8529bdae6df40895bcc86282 Mon Sep 17 00:00:00 2001 From: Jarrod Swift Date: Wed, 24 Mar 2021 16:13:31 +1030 Subject: [PATCH 2/2] Update release notes --- RELEASE_NOTES.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 28b23ff7..93cb44f3 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,4 +1,3 @@ -### New Features +### Bug Fix -Implement the new (Custom Template Associations)[https://developer.bigcommerce.com/api-reference/store-management/custom-template-associations] -API. \ No newline at end of file +Fix issue with all batch operations under PHP 7.4