From 5ff37d152aee2f14b8514a3fed91a818ff3a8966 Mon Sep 17 00:00:00 2001 From: evarisk-micka Date: Thu, 20 Jun 2024 10:13:52 +0200 Subject: [PATCH] #585 [Core] fix: change typage on isextrafieldmanaged and resprints --- class/actions_dolimeet.class.php | 4 ++-- class/session.class.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/class/actions_dolimeet.class.php b/class/actions_dolimeet.class.php index f248163..c1ec9d8 100644 --- a/class/actions_dolimeet.class.php +++ b/class/actions_dolimeet.class.php @@ -47,9 +47,9 @@ class ActionsDolimeet public array $results = []; /** - * @var string String displayed by executeHook() immediately after return. + * @var string|null String displayed by executeHook() immediately after return. */ - public string $resprints; + public ?string $resprints; /** * Constructor diff --git a/class/session.class.php b/class/session.class.php index f17cc7c..545be4a 100644 --- a/class/session.class.php +++ b/class/session.class.php @@ -55,7 +55,7 @@ class Session 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 session. Must be a 'fa-xxx' fontawesome code (or 'fa-xxx_fa_color_size') or 'session@dolimeet' if picto is file 'img/object_session.png'.