Skip to content

Conversation

@ilumos
Copy link
Contributor

@ilumos ilumos commented Jan 26, 2026

Implement IPlayerService/GetOwnedGames.

Please let me know any changes I should make. Thanks :)


public function defaultQuery(): array
{
return array_filter([
Copy link
Member

Choose a reason for hiding this comment

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

array_filter() will remove all falsy values which is false as well - so should do an explicit === null check in the callback.

Copy link
Member

@Gummibeer Gummibeer left a comment

Choose a reason for hiding this comment

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

please fix the array_filter() call

'include_extended_appinfo' => $this->include_extended_appinfo,
'include_played_free_games' => $this->include_played_free_games,
],
fn($value) => $value !== null
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added explicit null check.

@ilumos ilumos requested a review from Gummibeer January 30, 2026 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants