diff options
Diffstat (limited to 'includes/libs/ArrayUtils.php')
-rw-r--r-- | includes/libs/ArrayUtils.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/libs/ArrayUtils.php b/includes/libs/ArrayUtils.php index 5c1fbe1d2db0..292e343683bb 100644 --- a/includes/libs/ArrayUtils.php +++ b/includes/libs/ArrayUtils.php @@ -51,7 +51,7 @@ class ArrayUtils { foreach ( $array as $elt ) { $hashes[$elt] = md5( $elt . $separator . $key ); } - uasort( $array, function ( $a, $b ) use ( $hashes ) { + uasort( $array, static function ( $a, $b ) use ( $hashes ) { return strcmp( $hashes[$a], $hashes[$b] ); } ); } |