diff --git a/class/actions_dolisirh.class.php b/class/actions_dolisirh.class.php index d68ed7d..9fc949e 100644 --- a/class/actions_dolisirh.class.php +++ b/class/actions_dolisirh.class.php @@ -46,10 +46,10 @@ class ActionsDoliSIRH */ public $results = array(); - /** - * @var string String displayed by executeHook() immediately after return - */ - public $resprints; + /** + * @var string|null String displayed by executeHook() immediately after return + */ + public ?string $resprints; /** * Constructor diff --git a/class/timesheet.class.php b/class/timesheet.class.php index a4de574..7b7b02e 100644 --- a/class/timesheet.class.php +++ b/class/timesheet.class.php @@ -54,7 +54,7 @@ class TimeSheet extends SaturneObject /** * @var int Does object support extrafields ? 0 = No, 1 = Yes. */ - public int $isextrafieldmanaged = 1; + public $isextrafieldmanaged = 1; /** * @var string Name of icon for timesheet. Must be a 'fa-xxx' fontawesome code (or 'fa-xxx_fa_color_size') or 'timesheet@dolisirh' if picto is file 'img/object_timesheet.png'. @@ -203,12 +203,12 @@ class TimeSheet extends SaturneObject /** * @var int User ID. */ - public int $fk_user_creat; + public $fk_user_creat; /** * @var int|null User ID. */ - public ?int $fk_user_modif; + public $fk_user_modif; /** * @var int|string|null Project ID. @@ -393,7 +393,7 @@ class TimeSheetLine extends SaturneObject /** * @var int Does object support extrafields ? 0 = No, 1 = Yes. */ - public int $isextrafieldmanaged = 1; + public $isextrafieldmanaged = 1; /** * 'type' field format: