projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[php8-compat] Fix issue with returning bool from uasort by using the spaceship operator
[civicrm-core.git]
/
CRM
/
Utils
/
Check.php
diff --git
a/CRM/Utils/Check.php
b/CRM/Utils/Check.php
index 290de63123d491eb0782ff272e8cf99719b05276..618b332b7b3f0fcdae40b76339a8c6babe4fc445 100644
(file)
--- a/
CRM/Utils/Check.php
+++ b/
CRM/Utils/Check.php
@@
-114,7
+114,7
@@
class CRM_Utils_Check {
return strcmp($a->getName(), $b->getName());
}
// The Message constructor guarantees that these will always be integers.
- return ($aSeverity < $bSeverity);
+ return ($aSeverity <
=>
$bSeverity);
}
/**