From 9f93f6544ad3e3c46cec9c9cd1d1dde75873a6ba Mon Sep 17 00:00:00 2001 From: evarisk-micka Date: Fri, 21 Jun 2024 16:33:32 +0200 Subject: [PATCH] #588 [Class] fix: remove type for $isextrafieldmanaged --- class/timesheet.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: