From bbb88f0113846668fbbad7208b35b0bf139914c2 Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Sat, 2 Feb 2019 15:29:55 +0100 Subject: [PATCH] Make sure the link is updated --- src/Api/Domain.php | 2 +- src/Api/Event.php | 2 +- src/Api/Ip.php | 2 +- src/Api/MailingList.php | 3 +++ src/Api/MailingList/Member.php | 3 +++ src/Api/Message.php | 8 ++++++++ src/Api/Route.php | 2 +- src/Api/Stats.php | 2 +- src/Api/Tag.php | 2 +- src/Api/Webhook.php | 2 ++ 10 files changed, 22 insertions(+), 6 deletions(-) diff --git a/src/Api/Domain.php b/src/Api/Domain.php index c2d0471..0c28c61 100644 --- a/src/Api/Domain.php +++ b/src/Api/Domain.php @@ -26,7 +26,7 @@ use Mailgun\Model\Domain\VerifyResponse; use Psr\Http\Message\ResponseInterface; /** - * {@link https://documentation.mailgun.com/api-domains.html}. + * @see https://documentation.mailgun.com/api-domains.html * * @author Sean Johnson */ diff --git a/src/Api/Event.php b/src/Api/Event.php index b30625b..d1b4bf3 100644 --- a/src/Api/Event.php +++ b/src/Api/Event.php @@ -15,7 +15,7 @@ use Mailgun\Assert; use Mailgun\Model\Event\EventResponse; /** - * {@link https://documentation.mailgun.com/api-events.html}. + * @see https://documentation.mailgun.com/en/latest/api-events.html * * @author Tobias Nyholm */ diff --git a/src/Api/Ip.php b/src/Api/Ip.php index a7cb5d5..96034f5 100644 --- a/src/Api/Ip.php +++ b/src/Api/Ip.php @@ -18,7 +18,7 @@ use Mailgun\Model\Ip\UpdateResponse; use Psr\Http\Message\ResponseInterface; /** - * {@link https://documentation.mailgun.com/en/latest/api-ips.html#ips}. + * @see https://documentation.mailgun.com/en/latest/api-ips.html * * @author Tobias Nyholm */ diff --git a/src/Api/MailingList.php b/src/Api/MailingList.php index a449256..3acac1f 100644 --- a/src/Api/MailingList.php +++ b/src/Api/MailingList.php @@ -19,6 +19,9 @@ use Mailgun\Model\MailingList\PagesResponse; use Mailgun\Model\MailingList\ShowResponse; use Mailgun\Model\MailingList\UpdateResponse; +/** + * @see https://documentation.mailgun.com/en/latest/api-mailinglists.html + */ class MailingList extends HttpApi { public function member(): Member diff --git a/src/Api/MailingList/Member.php b/src/Api/MailingList/Member.php index 9bcdf42..742687b 100644 --- a/src/Api/MailingList/Member.php +++ b/src/Api/MailingList/Member.php @@ -21,6 +21,9 @@ use Mailgun\Model\MailingList\Member\ShowResponse; use Mailgun\Model\MailingList\Member\UpdateResponse; use Mailgun\Model\MailingList\UpdateResponse as MailingListUpdateResponse; +/** + * @see https://documentation.mailgun.com/en/latest/api-mailinglists.html + */ class Member extends HttpApi { /** diff --git a/src/Api/Message.php b/src/Api/Message.php index 5bd5726..77e3b9f 100644 --- a/src/Api/Message.php +++ b/src/Api/Message.php @@ -19,6 +19,8 @@ use Mailgun\Model\Message\ShowResponse; use Psr\Http\Message\ResponseInterface; /** + * @see https://documentation.mailgun.com/en/latest/api-sending.html + * * @author Tobias Nyholm */ class Message extends HttpApi @@ -29,6 +31,8 @@ class Message extends HttpApi } /** + * @see https://documentation.mailgun.com/en/latest/api-sending.html#sending + * * @return SendResponse|ResponseInterface */ public function send(string $domain, array $params) @@ -60,6 +64,8 @@ class Message extends HttpApi } /** + * @see https://documentation.mailgun.com/en/latest/api-sending.html#sending + * * @param array $recipients with all you send emails to. Including bcc and cc * @param string $message Message filepath or content * @@ -94,6 +100,8 @@ class Message extends HttpApi /** * Get stored message. * + * @see https://documentation.mailgun.com/en/latest/api-sending.html#retrieving-stored-messages + * * @param bool $rawMessage if true we will use "Accept: message/rfc2822" header * * @return ShowResponse|ResponseInterface diff --git a/src/Api/Route.php b/src/Api/Route.php index 7758057..231e8ed 100644 --- a/src/Api/Route.php +++ b/src/Api/Route.php @@ -19,7 +19,7 @@ use Mailgun\Model\Route\ShowResponse; use Mailgun\Model\Route\UpdateResponse; /** - * {@link https://documentation.mailgun.com/api-routes.html}. + * @see https://documentation.mailgun.com/api-routes.html * * @author David Garcia */ diff --git a/src/Api/Stats.php b/src/Api/Stats.php index 4e1ca53..fdc3d71 100644 --- a/src/Api/Stats.php +++ b/src/Api/Stats.php @@ -16,7 +16,7 @@ use Mailgun\Model\Stats\AllResponse; use Mailgun\Model\Stats\TotalResponse; /** - * {@link https://documentation.mailgun.com/api-stats.html}. + * @see https://documentation.mailgun.com/en/latest/api-stats.html * * @author Tobias Nyholm */ diff --git a/src/Api/Tag.php b/src/Api/Tag.php index 0d2c149..95d8862 100644 --- a/src/Api/Tag.php +++ b/src/Api/Tag.php @@ -23,7 +23,7 @@ use Mailgun\Model\Tag\UpdateResponse; use Psr\Http\Message\ResponseInterface; /** - * {@link https://documentation.mailgun.com/api-tags.html#tags}. + * @see https://documentation.mailgun.com/en/latest/api-tags.html * * @author Tobias Nyholm */ diff --git a/src/Api/Webhook.php b/src/Api/Webhook.php index acecfdb..7ad1d03 100644 --- a/src/Api/Webhook.php +++ b/src/Api/Webhook.php @@ -23,6 +23,8 @@ use Psr\Http\Message\ResponseInterface; use Psr\Http\Client\ClientInterface; /** + * @see https://documentation.mailgun.com/en/latest/api-webhooks.html + * * @author Tobias Nyholm */ class Webhook extends HttpApi