Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeholder committed Jun 17, 2024
1 parent 7847ddc commit 3c4378c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elements/Variant.php
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,7 @@ public function defineRules(): array
return array_merge(parent::defineRules(), [
[['sku'], 'string', 'max' => 255],
[['sku', 'price'], 'required', 'on' => self::SCENARIO_LIVE],
[['price', 'weight', 'width', 'height', 'length',], 'number'],
[['price', 'weight', 'width', 'height', 'length', ], 'number'],
[['price', 'weight', 'width', 'height', 'length'], 'number'],
// maxQty must be greater than minQty and minQty must be less than maxQty
[['minQty'], 'validateMinQtyRange', 'skipOnEmpty' => true],
Expand Down

0 comments on commit 3c4378c

Please sign in to comment.