From d3c0752e756a387214c5b942cb7c5231d9bc8b64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Rock=C3=A9tt?= Date: Sun, 17 Oct 2021 08:58:46 +0200 Subject: [PATCH] updates to en_za/internet (#383) --- src/Faker/Provider/en_ZA/Internet.php | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/Faker/Provider/en_ZA/Internet.php b/src/Faker/Provider/en_ZA/Internet.php index f5508a8feb..c22222765d 100644 --- a/src/Faker/Provider/en_ZA/Internet.php +++ b/src/Faker/Provider/en_ZA/Internet.php @@ -7,12 +7,17 @@ class Internet extends \Faker\Provider\Internet protected static $freeEmailDomain = ['gmail.com', 'yahoo.com', 'hotmail.com', 'webmail.co.za', 'vodamail.co.za']; /** + * An array of South African TLDs. + * * @see https://en.wikipedia.org/wiki/.za + * @see https://en.wikipedia.org/wiki/List_of_Internet_top-level_domains#Africa + * + * @var array */ protected static $tld = [ - 'co.za', 'co.za', 'co.za', 'co.za', 'com', 'com', 'net', 'gov.za', 'ac.za', 'edu.za', 'law.za', 'mil.za', - 'net.za', 'nom.za', 'org.za', 'school.za', 'ecape.school.za', 'fs.school.za', 'gp.school.za', 'kzn.school.za', - 'mpm.za', 'ncape.school.za', 'lp.school.za', 'nw.school.za', 'wcape.school.za', 'web.za', 'agric.za', 'nis.za', - 'grondar.za', + 'ac.za', 'africa', 'agric.za', 'capetown', 'co.za', 'co.za', 'co.za', 'co.za', 'com', 'com', + 'durban', 'ecape.school.za', 'edu.za', 'fs.school.za', 'gov.za', 'gp.school.za', 'grondar.za', + 'joburg', 'kzn.school.za', 'law.za', 'lp.school.za', 'mil.za', 'mpm.za', 'ncape.school.za', + 'net.za', 'net', 'nis.za', 'nom.za', 'nw.school.za', 'org.za', 'school.za', 'wcape.school.za', 'web.za', ]; }