Skip to content

Commit d4989ff

Browse files
authored
Merge pull request #40 from aligent/fix/39-multiple-resources-endpoint
Fix fatal error in getAllPages() on PHP 7
2 parents 347131e + 98bbfd8 commit d4989ff

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

RELEASE_NOTES.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
### New Features
1+
### Bug Fix
22

3-
Implement the new (Custom Template Associations)[https://developer.bigcommerce.com/api-reference/store-management/custom-template-associations]
4-
API.
3+
Fix issue with all batch operations under PHP 7.4

src/BigCommerce/Api/Generic/BatchUpdateResource.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
trait BatchUpdateResource
1111
{
1212
abstract public function batchUpdate(array $resources): PaginatedResponse;
13-
abstract public function multipleResourcesEndpoint(): string;
13+
abstract protected function multipleResourcesEndpoint(): string;
1414
abstract public function getClient(): Client;
1515

1616
protected function maxBatchSize(): int

0 commit comments

Comments
 (0)