Fix Core\Config

This commit is contained in:
Visman 2020-08-09 16:04:27 +07:00
parent 72741cb82f
commit d8f94dc853

View file

@ -148,10 +148,11 @@ class Config
break;
case 'NEW':
case '=>':
$value = $this->parse('ZERO');
$value_before = $other;
$other = '';
$type = 'VALUE';
$this->configStr = \substr($this->configStr, 0, -1);
$value = $this->parse('ZERO');
$value_before = $other;
$other = '';
$type = 'VALUE';
break;
default:
throw new ForkException('Config array cannot be parsed');