From 8c97f6f4510a661121de27d228751c8e73cf898a Mon Sep 17 00:00:00 2001 From: = Date: Wed, 22 Jun 2016 23:00:27 +0200 Subject: [PATCH 1/2] Updated docblock for sendMessage function to include @return and @throws --- src/Mailgun/Mailgun.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Mailgun/Mailgun.php b/src/Mailgun/Mailgun.php index 6777801..2594979 100644 --- a/src/Mailgun/Mailgun.php +++ b/src/Mailgun/Mailgun.php @@ -47,9 +47,10 @@ class Mailgun{ * MIME string. If sending MIME, the string must be passed in to the 3rd * position of the function call. * - * @param string $workingDomain - * @param array $postData + * @param $workingDomain + * @param $postData * @param array $postFiles + * @return \stdClass * @throws Exceptions\MissingRequiredMIMEParameters */ public function sendMessage($workingDomain, $postData, $postFiles = array()){ From e921db5cc9edfca38e09544419997112fb00b2cf Mon Sep 17 00:00:00 2001 From: = Date: Wed, 22 Jun 2016 23:04:31 +0200 Subject: [PATCH 2/2] Added var types to docblock --- src/Mailgun/Mailgun.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mailgun/Mailgun.php b/src/Mailgun/Mailgun.php index 2594979..47f80cf 100644 --- a/src/Mailgun/Mailgun.php +++ b/src/Mailgun/Mailgun.php @@ -47,8 +47,8 @@ class Mailgun{ * MIME string. If sending MIME, the string must be passed in to the 3rd * position of the function call. * - * @param $workingDomain - * @param $postData + * @param string $workingDomain + * @param array $postData * @param array $postFiles * @return \stdClass * @throws Exceptions\MissingRequiredMIMEParameters