summaryrefslogtreecommitdiff
path: root/Postman/Postman-Configuration/PostmanSmtpDiscovery.php
diff options
context:
space:
mode:
authorNiels de Blaauw <niels.de.blaauw@gmail.com>2019-03-13 11:04:00 +0100
committerGitHub <noreply@github.com>2019-03-13 11:04:00 +0100
commitfc465535b055c3a95a3befb386e4328bb649392c (patch)
treea29fe15494ca72b6272331556dfb760e7caeb656 /Postman/Postman-Configuration/PostmanSmtpDiscovery.php
parent08511ba5aa15b6a7100fa2856700784c27a2c15e (diff)
parent82e333429a153ee2e327950314af6520a23617da (diff)
downloadPost-SMTP-fc465535b055c3a95a3befb386e4328bb649392c.zip
Merge pull request #30 from yehudah/27-doctype-unknown-to-mixed
Fixes #27, changes 'unknown' doctypes to 'mixed'
Diffstat (limited to 'Postman/Postman-Configuration/PostmanSmtpDiscovery.php')
-rw-r--r--Postman/Postman-Configuration/PostmanSmtpDiscovery.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/Postman/Postman-Configuration/PostmanSmtpDiscovery.php b/Postman/Postman-Configuration/PostmanSmtpDiscovery.php
index 2d568cd..90777d5 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,7 +137,7 @@ if (! class_exists ( 'PostmanSmtpDiscovery' )) {
}
/**
*
- * @param unknown $email
+ * @param mixed $email
* @return Ambigous <number, boolean>
*/
private function 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) {