mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:10:11 +00:00
Replace deprecated use of "self" in callables
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1383147421
This commit is contained in:
parent
881cb456e2
commit
7e618856ab
10 changed files with 22 additions and 22 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue