Skip to content

Conversation

Akash-Raj-ST
Copy link

Instead of returning false when no updates are found, the get_updates function returns an empty array [], ensuring consistent return type and preventing potential errors .

Fixes #267

@Akash-Raj-ST Akash-Raj-ST requested a review from a team as a code owner October 1, 2024 06:57
@thelovekesh
Copy link
Member

Thanks for the first contribution 🎉

@thelovekesh thelovekesh merged commit e3a580a into wp-cli:main Oct 1, 2024
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Since a few days: PHP Fatal error

2 participants