Skip to content

usort expects a comparator with an integer return value.#47

Open
jankkm wants to merge 2 commits intoYetangitu:masterfrom
jankkm:master
Open

usort expects a comparator with an integer return value.#47
jankkm wants to merge 2 commits intoYetangitu:masterfrom
jankkm:master

Conversation

@jankkm
Copy link
Contributor

@jankkm jankkm commented Sep 6, 2024

fixed it with the spaceship operator.

usort expects a comparator with an integer return value. fixed it with the spaceship operator.
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.

1 participant