Fix detekt
This commit is contained in:
parent
724c2ca3b8
commit
4dc9e7e478
|
|
@ -14,6 +14,6 @@ abstract class PromocodeDiscount {
|
|||
}
|
||||
|
||||
class ByPercent(private val percent: Int) : PromocodeDiscount() {
|
||||
override fun applyTo(totalPrice: Int): Int = totalPrice - (totalPrice * percent / 100)
|
||||
override fun applyTo(totalPrice: Int): Int = totalPrice - totalPrice * percent / 100
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue