X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FEvent.php;h=e39ee5fd56b43b78fc64561a7cf55320b8638372;hb=df6cda8a4de30f55c126b95095c026e5b961c27c;hp=ca22c32ac6df506e350f7f4246f07036fd6eafc9;hpb=360614d2cf3aceeb763ef1281ad5236878f5d735;p=friendica.git diff --git a/src/Model/Event.php b/src/Model/Event.php index ca22c32ac6..e39ee5fd56 100644 --- a/src/Model/Event.php +++ b/src/Model/Event.php @@ -198,7 +198,7 @@ class Event public static function sortByDate(array $event_list): array { - usort($event_list, ['self', 'compareDatesCallback']); + usort($event_list, [self::class, 'compareDatesCallback']); return $event_list; }