From 6cb2b6c01859f4938c931a7b0469b31f759fce2e Mon Sep 17 00:00:00 2001 From: thibdrev Date: Wed, 24 Jan 2024 21:19:42 +0100 Subject: [PATCH] qual: phpstan for htdocs/compta/sociales/class/cchargesociales.class.php htdocs/compta/sociales/class/cchargesociales.class.php 528 Property Cchargesociales::$fk_pays (int) does not accept string. --- htdocs/compta/sociales/class/cchargesociales.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/htdocs/compta/sociales/class/cchargesociales.class.php b/htdocs/compta/sociales/class/cchargesociales.class.php index 1c106b8d399..2575c69b31e 100644 --- a/htdocs/compta/sociales/class/cchargesociales.class.php +++ b/htdocs/compta/sociales/class/cchargesociales.class.php @@ -519,13 +519,12 @@ class Cchargesociales public function initAsSpecimen() { $this->id = 0; - $this->libelle = ''; $this->label = ''; $this->deductible = ''; $this->active = ''; $this->code = ''; - $this->fk_pays = ''; + $this->fk_pays = 0; $this->module = ''; $this->accountancy_code = ''; }