@@ -31,7 +31,7 @@ |
||
31 | 31 | */ |
32 | 32 | public function hasProductBySku(string $sku): bool |
33 | 33 | { |
34 | - return $this->products()->whereHas('skus', function ($q) use ($sku) { |
|
34 | + return $this->products()->whereHas('skus', function($q) use ($sku) { |
|
35 | 35 | $q->where('code', $sku); |
36 | 36 | })->exists(); |
37 | 37 | } |