Skip to content

Commit

Permalink
Change minimum validation to 0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonigas committed Dec 4, 2020
1 parent 7f1581d commit 6e11d21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Darryldecode/Cart/Cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ protected function validate($item)
$rules = array(
'id' => 'required',
'price' => 'required|numeric',
'quantity' => 'required|numeric|min:1',
'quantity' => 'required|numeric|min:0.1',
'name' => 'required',
);

Expand Down

0 comments on commit 6e11d21

Please sign in to comment.