summaryrefslogtreecommitdiff
path: root/Postman/Postman-Configuration/PostmanSmtpDiscovery.php
diff options
context:
space:
mode:
authoryehuda <yehuda@myinbox.in>2019-05-16 12:15:39 +0300
committeryehuda <yehuda@myinbox.in>2019-05-16 12:15:39 +0300
commit6b0c4d5d97cac613ad8218fc9f0779eec63c28e3 (patch)
tree3ac2513ad5cb08650b03f55d837cf6b1d578dd21 /Postman/Postman-Configuration/PostmanSmtpDiscovery.php
parentc88e7ad0b42cefd8fb7b509c8c2e355f567d9434 (diff)
parent09ad01149ef5981407149bc3c9502058482fb419 (diff)
downloadPost-SMTP-6b0c4d5d97cac613ad8218fc9f0779eec63c28e3.zip
Merge remote-tracking branch 'origin/dev'
Diffstat (limited to 'Postman/Postman-Configuration/PostmanSmtpDiscovery.php')
-rw-r--r--Postman/Postman-Configuration/PostmanSmtpDiscovery.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/Postman/Postman-Configuration/PostmanSmtpDiscovery.php b/Postman/Postman-Configuration/PostmanSmtpDiscovery.php
index 2d568cd..44da3bb 100644
--- a/Postman/Postman-Configuration/PostmanSmtpDiscovery.php
+++ b/Postman/Postman-Configuration/PostmanSmtpDiscovery.php
@@ -117,7 +117,7 @@ if (! class_exists ( 'PostmanSmtpDiscovery' )) {
/**
* Constructor
*
- * @param unknown $email
+ * @param mixed $email
*/
public function __construct($email) {
$this->email = $email;
@@ -137,8 +137,8 @@ if (! class_exists ( 'PostmanSmtpDiscovery' )) {
}
/**
*
- * @param unknown $email
- * @return Ambigous <number, boolean>
+ * @param mixed $email
+ * @return string|bool
*/
private function validateEmail($email) {
return PostmanUtils::validateEmail ( $email );
@@ -171,7 +171,7 @@ if (! class_exists ( 'PostmanSmtpDiscovery' )) {
/**
* Uses getmxrr to retrieve the MX records of a hostname
*
- * @param unknown $hostname
+ * @param mixed $hostname
* @return mixed|boolean
*/
private function findMxHostViaDns($hostname) {
@@ -201,9 +201,9 @@ if (! class_exists ( 'PostmanSmtpDiscovery' )) {
* This is a custom implementation of mxrr for Windows PHP installations
* which don't have this method natively.
*
- * @param unknown $hostname
- * @param unknown $mxhosts
- * @param unknown $mxweight
+ * @param mixed $hostname
+ * @param mixed $mxhosts
+ * @param mixed $mxweight
* @return boolean
*/
function getmxrr($hostname, &$mxhosts, &$mxweight) {