From dcbf6a0e2ac5c0dc194dcaf19e17b4829d714257 Mon Sep 17 00:00:00 2001 From: Michael Schlueter Date: Sat, 23 Mar 2024 17:19:40 +0100 Subject: [PATCH 1/2] Fix a Creation of dynamic property issue --- lib/Horde/Prefs/Identity.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/Horde/Prefs/Identity.php b/lib/Horde/Prefs/Identity.php index 8bd6929..df41ece 100644 --- a/lib/Horde/Prefs/Identity.php +++ b/lib/Horde/Prefs/Identity.php @@ -46,6 +46,13 @@ class Horde_Prefs_Identity */ protected $_user = null; + /** + * Array containing all the names. + * + * @var array + */ + protected $_names = array(); + /** * Preference names. * From 2650c1080ad39a6235deebc081365f18496755df Mon Sep 17 00:00:00 2001 From: Ralf Lang Date: Thu, 28 Mar 2024 12:08:04 +0100 Subject: [PATCH 2/2] Use short name --- lib/Horde/Prefs/Identity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Horde/Prefs/Identity.php b/lib/Horde/Prefs/Identity.php index df41ece..3b0fb33 100644 --- a/lib/Horde/Prefs/Identity.php +++ b/lib/Horde/Prefs/Identity.php @@ -51,7 +51,7 @@ class Horde_Prefs_Identity * * @var array */ - protected $_names = array(); + protected $_names = []; /** * Preference names.