@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | protected function applyCustomOrder() |
| 58 | 58 | { |
| 59 | 59 | $this->query |
| 60 | - ->join('bedard_shop_category_product', function ($join) { |
|
| 60 | + ->join('bedard_shop_category_product', function($join) { |
|
| 61 | 61 | $join->on('bedard_shop_products.id', '=', 'bedard_shop_category_product.product_id') |
| 62 | 62 | ->where('bedard_shop_category_product.category_id', '=', $this->category->id); |
| 63 | 63 | }) |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | */ |
| 106 | 106 | protected function applyProductFilters() |
| 107 | 107 | { |
| 108 | - $this->query->where(function ($q) { |
|
| 108 | + $this->query->where(function($q) { |
|
| 109 | 109 | foreach ($this->category->filters as $filter) { |
| 110 | 110 | $right = $filter->getRightClause(); |
| 111 | 111 | $q->where($filter->left, $filter->comparator, $right); |