mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 17:48:25 +01:00
Phpstan fix (#28637)
* fix phpstan * fix phpstan * fix phpstan * fix phpstan
This commit is contained in:
@@ -922,7 +922,7 @@ class Reception extends CommonObject
|
||||
$this->ref = trim($this->ref);
|
||||
}
|
||||
if (isset($this->entity)) {
|
||||
$this->entity = trim($this->entity);
|
||||
$this->entity = (int) $this->entity;
|
||||
}
|
||||
if (isset($this->ref_supplier)) {
|
||||
$this->ref_supplier = trim($this->ref_supplier);
|
||||
@@ -931,10 +931,10 @@ class Reception extends CommonObject
|
||||
$this->socid = trim($this->socid);
|
||||
}
|
||||
if (isset($this->fk_user_author)) {
|
||||
$this->fk_user_author = trim($this->fk_user_author);
|
||||
$this->fk_user_author = (int) $this->fk_user_author;
|
||||
}
|
||||
if (isset($this->fk_user_valid)) {
|
||||
$this->fk_user_valid = trim($this->fk_user_valid);
|
||||
$this->fk_user_valid = (int) $this->fk_user_valid;
|
||||
}
|
||||
if (isset($this->shipping_method_id)) {
|
||||
$this->shipping_method_id = (int) $this->shipping_method_id;
|
||||
|
||||
Reference in New Issue
Block a user