From 9cad752e57f1de27a0149be4c6e16a40fa47c558 Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Tue, 6 Aug 2024 09:42:45 +0300 Subject: [PATCH] Update src/DnsHelper.php Co-authored-by: Alexander Makarov --- src/DnsHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DnsHelper.php b/src/DnsHelper.php index d7a54d7..8cf3f61 100644 --- a/src/DnsHelper.php +++ b/src/DnsHelper.php @@ -71,7 +71,7 @@ public static function acceptsEmails(string $hostnameOrEmail): bool { if (strpos($hostnameOrEmail, '@') !== false) { /** - * @psalm-suppress PossiblyUndefinedArrayOffset In this cse `explode()` always returns array with 2 elements. + * @psalm-suppress PossiblyUndefinedArrayOffset In this case `explode()` always returns an array with 2 elements. */ [, $hostnameOrEmail] = explode('@', $hostnameOrEmail, 2); }