Skip to content

Commit b167b96

Browse files
Jade-GGactions-user
authored andcommitted
Apply fixes from Duster
1 parent 69aa3b5 commit b167b96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Models/Product.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public function tierPrices(): HasMany
174174
public function getUnitPrice(int $quantity = 1, int $customerGroup = 0)
175175
{
176176
$tierPrice = $this->tierPrices()
177-
->where(function($query) use ($customerGroup) {
177+
->where(function ($query) use ($customerGroup) {
178178
$query->where('customer_group_id', $customerGroup)
179179
->orWhere('all_groups', '1');
180180
})

0 commit comments

Comments
 (0)