src/I18n/Formatter.php
public function init()
    {
        if ($this->timeZone === null) {
            $this->timeZone = Reaction::$app->timeZone;
        }
        if ($this->locale === null) {
            $this->locale = Reaction::$app->language;
        }
        if ($this->booleanFormat === null) {
            $this->booleanFormat = [Reaction::t('rct', 'No', [], $this->locale), Reaction::t('rct', 'Yes', [], $this->locale)];
        }
        if ($this->nullDisplay === null) {
            $this->nullDisplay = '<span class="not-set">' . Reaction::t('rct', '(not set)', [], $this->locale) . '</span>';
        }
        $this->_intlLoaded = extension_loaded('intl');
        if (!$this->_intlLoaded) {
            if ($this->decimalSeparator === null) {
                $this->decimalSeparator = '.';
            }
            if ($this->thousandSeparator === null) {
                $this->thousandSeparator = ',';
            }
        }
    }
public function init()
    {
        if ($this->timeZone === null) {
            $this->timeZone = Reaction::$app->timeZone;
        }
        if ($this->locale === null) {
            $this->locale = Reaction::$app->language;
        }
        if ($this->booleanFormat === null) {
            $this->booleanFormat = [Reaction::t('rct', 'No', [], $this->locale), Reaction::t('rct', 'Yes', [], $this->locale)];
        }
        if ($this->nullDisplay === null) {
            $this->nullDisplay = '<span class="not-set">' . Reaction::t('rct', '(not set)', [], $this->locale) . '</span>';
        }
        $this->_intlLoaded = extension_loaded('intl');
        if (!$this->_intlLoaded) {
            if ($this->decimalSeparator === null) {
                $this->decimalSeparator = '.';
            }
            if ($this->thousandSeparator === null) {
                $this->thousandSeparator = ',';
            }
        }
    }
{@inheritdoc}