protected function formatPhoneMask(string $phone, int $length, string $format): string
    {
        $this->formatPhoneMultiMask($phone, $length, $format);

        return preg_match('/^\(?([2-9]{1}\d{2})\)?[-.\s]?([2-9]{1}\d{2})[-.\s]?(\d{4})$/', $phone)
            ? preg_replace('/([0-9]{3})([0-9]{3})([0-9]{4})/', '($1) $2-$3', $phone)
            : $phone;
    }