mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update settings.php
Reverting mixed type until more people have migrated off of PHP 7.4
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user