@@ -54,7 +54,7 @@ |
||
| 54 | 54 | throw new \UnexpectedValueException('Informe o valor do item como inteiro'); |
| 55 | 55 | } |
| 56 | 56 | |
| 57 | - if (!is_int($quantity) || $quantity < 1){ |
|
| 57 | + if (!is_int($quantity) || $quantity < 1) { |
|
| 58 | 58 | throw new \UnexpectedValueException('A quantidade do item deve ser um valor inteiro maior que 0'); |
| 59 | 59 | } |
| 60 | 60 | |