@@ -9,11 +9,11 @@ discard block |
||
9 | 9 | |
10 | 10 | class AttributeService extends BaseService |
11 | 11 | { |
12 | - public function __construct(AttributeRepository $attribute, AttributeGroupRepository $attributeGroup) |
|
13 | - { |
|
14 | - $this->repo = $attribute; |
|
15 | - $this->repoGroup = $attributeGroup; |
|
16 | - } |
|
12 | + public function __construct(AttributeRepository $attribute, AttributeGroupRepository $attributeGroup) |
|
13 | + { |
|
14 | + $this->repo = $attribute; |
|
15 | + $this->repoGroup = $attributeGroup; |
|
16 | + } |
|
17 | 17 | |
18 | 18 | /** |
19 | 19 | * laravel validation rules for attribute |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | { |
62 | 62 | $attributes['shop_id'] = auth('hideyobackend')->user()->selected_shop_id; |
63 | 63 | $attributes['modified_by_user_id'] = auth('hideyobackend')->user()->id; |
64 | - $attributes['attribute_group_id'] = $attributeGroupId; |
|
64 | + $attributes['attribute_group_id'] = $attributeGroupId; |
|
65 | 65 | |
66 | 66 | $validator = Validator::make($attributes, $this->rules()); |
67 | 67 |