$defaultValue) { if (isset($configValues[$key]) && is_array($configValues[$key])) { $configValues[$key] = self::bindNestedConfigValues($configValues[$key], $defaultValue); continue; } $configValues[$key] ??= $defaultValue; } return $configValues; } }