wip: finalize implementation

This commit is contained in:
Björn Fromme committed 2026-03-16 11:59:11 +01:00
1 parent b882175f36
commit 5ef3bb9cbf
20 files changed
+112 -224

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ trait SortByPriceTrait
*/
protected function sortByPrice(array $items): array
{
usort($items, function (object $a, object $b) {
uasort($items, function (object $a, object $b) {
$priceA = $a->price ?? 0;
$priceB = $b->price ?? 0;