diff --git a/src/Response/BaseResponse.php b/src/Response/BaseResponse.php index 4bb0b52..d9a2e74 100644 --- a/src/Response/BaseResponse.php +++ b/src/Response/BaseResponse.php @@ -168,7 +168,7 @@ private function process($haystack, array $trackedInstanceHashes = []) ]; } if ($haystack instanceof ItemsList) { - return $haystack->getData(); + return $this->process($haystack->getData(), $trackedInstanceHashes); } if (\method_exists($haystack, '__toString') === true) { return (string) $haystack;