FIX: bad method name

This commit is contained in:
Erik Thuning 2024-11-14 15:49:31 +01:00
parent 62b8c853f5
commit d4cf2498fe

@ -42,7 +42,7 @@ class Product extends Entity {
}
}
public static function sort($prod1, $prod2) {
public static function compare($prod1, $prod2) {
return strcmp(strtolower($prod1->get_name()),
strtolower($prod2->get_name()));
}