]> git.localhorst.tv Git - alttp.git/commitdiff
fix round sorting function
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Tue, 15 Nov 2022 20:05:37 +0000 (21:05 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Tue, 15 Nov 2022 20:05:37 +0000 (21:05 +0100)
app/Models/Result.php

index 5b0df0fc9bea728714c6d9d18ad2a730d5bc199a..229ac4b9c8e418c5d52cf9de99c33e07122eaf26 100644 (file)
@@ -37,7 +37,7 @@ class Result extends Model
                return static::compareUsername($a, $b);
        }
 
-       public static function compareUsername(Participant $a, Participant $b) {
+       public static function compareUsername(Result $a, Result $b) {
                return strcasecmp($a->user->username, $b->user->username);
        }