]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Widget/TagCloud.php
spelling: count
[friendica.git] / src / Content / Widget / TagCloud.php
index d2c9d94534a9611df4b7a2e62d74940250e27b18..53d332f0a8897df3caccd5d8d9a2296884dbcaa4 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -144,7 +144,7 @@ class TagCloud
                        $x ++;
                }
 
-               usort($tags, 'self::tagsSort');
+               usort($tags, [self::class, 'tagsSort']);
                $range = max(0.01, $max - $min) * 1.0001;
 
                for ($x = 0; $x < count($tags); $x ++) {