Skip to content

Commit

Permalink
add doc block
Browse files Browse the repository at this point in the history
  • Loading branch information
ziming committed Jan 29, 2024
1 parent 96af466 commit 3db3f0c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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
{
Expand Down

0 comments on commit 3db3f0c

Please sign in to comment.