chg: [base settings provider] pass settings by reference for evaluation
- opens it up for modifications by the hooking functionscli-modification-summary
parent
7834ab3d62
commit
eb5f7aa675
|
@ -188,7 +188,7 @@ class BaseSettingsProvider
|
|||
* @param array $setting
|
||||
* @return mixed
|
||||
*/
|
||||
public function evaluateFunctionForSetting($fun, $setting)
|
||||
public function evaluateFunctionForSetting($fun, &$setting)
|
||||
{
|
||||
$functionResult = true;
|
||||
if (is_callable($fun)) { // Validate with anonymous function
|
||||
|
|
Loading…
Reference in New Issue