Replace bool comparison with int in uasort()
In PHP 8.0, the comparison function used by uasort() should return an integer (-1, 0, or 1) instead of a boolean.
Merge request reports
Activity
Please register or sign in to reply
In PHP 8.0, the comparison function used by uasort() should return an integer (-1, 0, or 1) instead of a boolean.