]> git.localhorst.tv Git - alttp.git/blobdiff - app/Models/Result.php
fix round sorting function
[alttp.git] / 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);
        }