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 5cd1a64 commit 1ece9a8Copy full SHA for 1ece9a8
src/ConstantContact/Client.php
@@ -323,7 +323,11 @@ private function process(\GuzzleHttp\Psr7\Response $response) : array
323
$this->statusCode = $response->getStatusCode();
324
$this->body = $response->getBody();
325
$data = \json_decode($this->body, true);
326
- $this->next = $data['_links']['next']['href'] ?? '';
+
327
+ if (isset($data['_links']['next']['href']))
328
+ {
329
+ $this->next = $data['_links']['next']['href'];
330
+ }
331
332
if (null !== $data)
333
{
0 commit comments