code: protected function formatPhoneNumber(PhoneNumber $number = null)
      {
          if ($number) {
              return $this->phoneNumberUtil->format($number, PhoneNumberFormat::INTERNATIONAL);
          }
  
          return null;
      }
docs: Formats the given phone number.
  
  @param PhoneNumber $number
  
  @return string