Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Throw an exception on empty response #133

Merged
merged 1 commit into from
Apr 27, 2024
Merged

Conversation

ilumos
Copy link
Contributor

@ilumos ilumos commented Jul 15, 2022

Throws an exception when the Steam API responds with an empty response, which would normally cause the error Invalid argument supplied for foreach() at vendor/syntax/steam-api/src/Syntax/SteamApi/Steam/App.php:79

For example:
Steam::app()->appDetails(1444140)

See #124 for more info. Thanks

Copy link
Collaborator

@nicekiwi nicekiwi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 Cheers

@nicekiwi nicekiwi merged commit 48e9354 into syntaxerrors:master Apr 27, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants