From 3db3f0c173c144131ecfd855c2359a70422db1dc Mon Sep 17 00:00:00 2001 From: ziming Date: Mon, 29 Jan 2024 18:11:56 +0800 Subject: [PATCH] add doc block --- src/helpers.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/helpers.php b/src/helpers.php index 112c3f7..0b5c61e 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -2,9 +2,13 @@ declare(strict_types=1); +use Detection\Exception\MobileDetectException; use Ziming\LaravelEmailSniperLink\LaravelEmailSniperLink; if (! function_exists('email_sniper_link_quick')) { + /** + * @throws MobileDetectException + */ function sniper_link_quick(string $receiverEmail, ?string $fromEmail = null): ?string { return LaravelEmailSniperLink::getSniperLinkQuick($receiverEmail, $fromEmail); @@ -13,7 +17,7 @@ function sniper_link_quick(string $receiverEmail, ?string $fromEmail = null): ?s if (! function_exists('email_sniper_link')) { /** - * @throws Detection\Exception\MobileDetectException + * @throws MobileDetectException */ function email_sniper_link(string $receiverEmail, ?string $fromEmail = null): ?string {