X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FEvent.php;h=e39ee5fd56b43b78fc64561a7cf55320b8638372;hb=3a0b0ffce5f26f9de8ae0f716d0c964f93662479;hp=ca22c32ac6df506e350f7f4246f07036fd6eafc9;hpb=6aa1dcfad371f34fea1f8e39b73de2cc3dd05784;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; }