wip: finalize implementation
This commit is contained in:
1 parent
dc7ed0728a
commit
434c4d0a11
20 files changed
+112
-224
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user