config->getSystemValueString('default_phone_region') ?: null; $standardPhoneNumber = $this->phoneNumberUtil->convertToStandardFormat($phoneNumber, $defaultRegion); if ($standardPhoneNumber === null) { throw new \InvalidArgumentException(); } if (str_starts_with($standardPhoneNumber, '+')) { return substr($standardPhoneNumber, 1); } throw new \InvalidArgumentException(); } }