We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b6d6f0 commit bbd3d90Copy full SHA for bbd3d90
src/MessageBird/Resources/Base.php
@@ -186,7 +186,8 @@ public function getList(?array $parameters = [])
186
187
foreach ($items as $item) {
188
if ($this->responseObject) {
189
- $baseList->items[] = $this->responseObject->loadFromStdclass($item);
+ $responseObject = clone $this->responseObject;
190
+ $baseList->items[] = $responseObject->loadFromStdclass($item);
191
} else {
192
/** @psalm-suppress UndefinedClass */
193
$object = new $objectName($this->httpClient);
0 commit comments