From 5aa3bfe7e10c62c29e4a03daacf986b7bd9267c1 Mon Sep 17 00:00:00 2001 From: Michael Newton Date: Tue, 12 Oct 2021 00:19:54 -0600 Subject: [PATCH] Proper format for E.164 numbers (#380) --- src/Faker/Provider/en_US/PhoneNumber.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Faker/Provider/en_US/PhoneNumber.php b/src/Faker/Provider/en_US/PhoneNumber.php index 69c24fd0dc..f81e92f10d 100644 --- a/src/Faker/Provider/en_US/PhoneNumber.php +++ b/src/Faker/Provider/en_US/PhoneNumber.php @@ -59,7 +59,7 @@ class PhoneNumber extends \Faker\Provider\PhoneNumber ]; protected static $e164Formats = [ - '+1{{areaCode}}#######', + '+1{{areaCode}}{{exchangeCode}}####', ]; /**