修正了个人所得税计算,返回值修改为float
This commit is contained in:
parent
a653149474
commit
e69315bc00
@ -535,10 +535,10 @@ class DoctorAccountService extends BaseService
|
||||
|
||||
/**
|
||||
* 计算个人所得税
|
||||
* @param string|int $income
|
||||
* @return float|int
|
||||
* @param string|float $income
|
||||
* @return float
|
||||
*/
|
||||
protected function computeIndividualIncomeTax(string|int $income): float|int
|
||||
protected function computeIndividualIncomeTax(string|float $income): float
|
||||
{
|
||||
if ($income <= 800) {
|
||||
return 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user