public static function sortByDate(array $event_list): array
{
- usort($event_list, ['self', 'compareDatesCallback']);
+ usort($event_list, [self::class, 'compareDatesCallback']);
return $event_list;
}
}
// Show edit and drop actions only if the user is the owner of the event and the event
- // is a real event (no bithdays).
+ // is a real event (no birthdays).
$edit = null;
$copy = null;
$drop = null;