From e69315bc00b2948783f49f8be8b87749ab9be7aa Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Wed, 1 Nov 2023 09:54:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=BA=86=E4=B8=AA=E4=BA=BA?= =?UTF-8?q?=E6=89=80=E5=BE=97=E7=A8=8E=E8=AE=A1=E7=AE=97=EF=BC=8C=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E5=80=BC=E4=BF=AE=E6=94=B9=E4=B8=BAfloat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/DoctorAccountService.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Services/DoctorAccountService.php b/app/Services/DoctorAccountService.php index e5597a6..83f1215 100644 --- a/app/Services/DoctorAccountService.php +++ b/app/Services/DoctorAccountService.php @@ -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;