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 {