From f873ee77578aecc6239a21f102a1c2933dc430c5 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 4 Mar 2024 09:35:17 -0700 Subject: [PATCH] Update settings.php Reverting mixed type until more people have migrated off of PHP 7.4 --- resources/classes/settings.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/resources/classes/settings.php b/resources/classes/settings.php index 039ddd3c6c..a7629ec81f 100644 --- a/resources/classes/settings.php +++ b/resources/classes/settings.php @@ -63,10 +63,11 @@ class settings { /** * get the value - * @param text category - * @param text subcategory + * @param string category + * @param string subcategory + * @param mixed allows default value returned if category and subcategory not found */ - public function get(string $category = null, string $subcategory = null, mixed $default_value = null): mixed { + public function get(string $category = null, string $subcategory = null, $default_value = null) { if (empty($category)) { return $this->settings;