Skip to content

Commit 0a78559

Browse files
committed
#4 Add throws tags
1 parent 3996a76 commit 0a78559

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/DiscordWebhook/Webhook.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
use JetBrains\PhpStorm\Pure;
1111
use RuntimeException;
1212
use SplFileInfo;
13+
use Symfony\Component\Serializer\Exception\ExceptionInterface;
1314

1415
/**
1516
* Class Webhook
@@ -56,6 +57,8 @@ public function __construct(array $url)
5657

5758
/**
5859
* @throws GuzzleException
60+
* @throws ExceptionInterface
61+
* @throws RuntimeException
5962
*/
6063
public function send(): bool
6164
{

0 commit comments

Comments
 (0)