We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This can be easily replicated in by running the following test and examining the output in the CurlClient:
CurlClient
shippo-php-client/test/ParcelTest.php
Lines 48 to 52 in e4b577a
The expected output format according to the documentation is:
{ "next": null, "previous": null, "results": [ { "object_state": ... }, ] }
When the page size is 1 the json fragment is:
1
{ "next": null, "previous": null, "results": { "object_state": ... }
This causes the test to fail in PHP7.4 because the resulting object is not Countable.
Countable
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This can be easily replicated in by running the following test and examining the output in the
CurlClient
:shippo-php-client/test/ParcelTest.php
Lines 48 to 52 in e4b577a
The expected output format according to the documentation is:
When the page size is
1
the json fragment is:This causes the test to fail in PHP7.4 because the resulting object is not
Countable
.The text was updated successfully, but these errors were encountered: