TypeError Recurly\BaseClient::nextPage()
: Return value must be of type Recurly\Page, Recurly\EmptyResource
returned
#787
Labels
Describe the bug
We get an error in our production related to a Type Error due to nextPage() which returns an EmptyResource instead of Recurly/Page resource. This error started to appear suddenly since
2024-01-02 12:58:40 pm GMT+2
To Reproduce
In our production implementation we started to receive the error with this complete stack trace:
In our implementation we have
$invoices = $this->_client->listAccountInvoices('code-' . $account_code);
Expected behavior
Either allow to return
Recurly\EmptyResource
or return an emptyRecurly\Page
and address the type error.Your Environment
"recurly/recurly-client": "^4.27",
The text was updated successfully, but these errors were encountered: