wip: finalize implementation

This commit is contained in:
Björn Fromme committed 2025-10-17 18:46:25 +02:00
1 parent dc7ed0728a
commit 434c4d0a11
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;