aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Text
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2023-12-31 09:55:27 +0100
committerMario Vavti <mario@mariovavti.com>2023-12-31 09:55:27 +0100
commit62db8c3969f783897ff2de1bf3250057c37eb422 (patch)
tree4201794d9550de52bd36aead6f494de16340aef9 /Zotlabs/Text
parentae3db366e50a07b1d960650e8c40a0de09341d10 (diff)
downloadvolse-hubzilla-62db8c3969f783897ff2de1bf3250057c37eb422.tar.gz
volse-hubzilla-62db8c3969f783897ff2de1bf3250057c37eb422.tar.bz2
volse-hubzilla-62db8c3969f783897ff2de1bf3250057c37eb422.zip
fix php errors and deprecation warnings
Diffstat (limited to 'Zotlabs/Text')
-rw-r--r--Zotlabs/Text/Tagadelic.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Text/Tagadelic.php b/Zotlabs/Text/Tagadelic.php
index 55ecf2d75..b96b60d3e 100644
--- a/Zotlabs/Text/Tagadelic.php
+++ b/Zotlabs/Text/Tagadelic.php
@@ -24,7 +24,7 @@ class Tagadelic {
$x ++;
}
- usort($tags,'self::tags_sort');
+ usort($tags, [self::class, 'tags_sort']);
$range = max(.01, $max - $min) * 1.0001;
@@ -41,4 +41,4 @@ class Tagadelic {
return((strtolower($a[0]) < strtolower($b[0])) ? -1 : 1);
}
-} \ No newline at end of file
+}