summaryrefslogtreecommitdiff
path: root/Postman/Postman-Mail
diff options
context:
space:
mode:
Diffstat (limited to 'Postman/Postman-Mail')
-rw-r--r--Postman/Postman-Mail/PostmanDefaultModuleTransport.php2
-rw-r--r--Postman/Postman-Mail/PostmanEmailAddress.php4
-rw-r--r--Postman/Postman-Mail/PostmanGmailApiModuleTransport.php2
-rw-r--r--Postman/Postman-Mail/PostmanMailgunMailEngine.php4
-rw-r--r--Postman/Postman-Mail/PostmanMailgunTransport.php8
-rw-r--r--Postman/Postman-Mail/PostmanMandrillMailEngine.php4
-rw-r--r--Postman/Postman-Mail/PostmanMandrillTransport.php2
-rw-r--r--Postman/Postman-Mail/PostmanMessage.php20
-rw-r--r--Postman/Postman-Mail/PostmanModuleTransport.php28
-rw-r--r--Postman/Postman-Mail/PostmanSendGridMailEngine.php4
-rw-r--r--Postman/Postman-Mail/PostmanSendGridTransport.php8
-rw-r--r--Postman/Postman-Mail/PostmanSmtpModuleTransport.php2
-rw-r--r--Postman/Postman-Mail/PostmanTransportRegistry.php12
-rw-r--r--Postman/Postman-Mail/PostmanZendMailEngine.php4
-rw-r--r--Postman/Postman-Mail/PostmanZendMailTransportConfigurationFactory.php18
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/EmailAddress.php2
16 files changed, 62 insertions, 62 deletions
diff --git a/Postman/Postman-Mail/PostmanDefaultModuleTransport.php b/Postman/Postman-Mail/PostmanDefaultModuleTransport.php
index dbce30a..3234a26 100644
--- a/Postman/Postman-Mail/PostmanDefaultModuleTransport.php
+++ b/Postman/Postman-Mail/PostmanDefaultModuleTransport.php
@@ -8,7 +8,7 @@ if (! class_exists ( 'PostmanSmtpModuleTransport' )) {
/**
*
- * @param unknown $rootPluginFilenameAndPath
+ * @param mixed $rootPluginFilenameAndPath
*/
public function __construct($rootPluginFilenameAndPath) {
parent::__construct ( $rootPluginFilenameAndPath );
diff --git a/Postman/Postman-Mail/PostmanEmailAddress.php b/Postman/Postman-Mail/PostmanEmailAddress.php
index 67c4662..123064d 100644
--- a/Postman/Postman-Mail/PostmanEmailAddress.php
+++ b/Postman/Postman-Mail/PostmanEmailAddress.php
@@ -61,8 +61,8 @@ if (! class_exists ( 'PostmanEmailAddress' )) {
/**
* Accept a String of addresses or an array and return an array
*
- * @param unknown $recipientList
- * @param unknown $recipients
+ * @param mixed $recipientList
+ * @param mixed $recipients
*/
public static function convertToArray($emails) {
assert ( ! empty ( $emails ) );
diff --git a/Postman/Postman-Mail/PostmanGmailApiModuleTransport.php b/Postman/Postman-Mail/PostmanGmailApiModuleTransport.php
index eae4320..98fc1f1 100644
--- a/Postman/Postman-Mail/PostmanGmailApiModuleTransport.php
+++ b/Postman/Postman-Mail/PostmanGmailApiModuleTransport.php
@@ -189,7 +189,7 @@ class PostmanGmailApiModuleTransport extends PostmanAbstractZendModuleTransport
*
* 70 gmail api on port 465 to www.googleapis.com
*
- * @param unknown $hostData
+ * @param mixed $hostData
*/
public function getConfigurationBid(PostmanWizardSocket $hostData, $userAuthOverride, $originalSmtpServer) {
$recommendation = array ();
diff --git a/Postman/Postman-Mail/PostmanMailgunMailEngine.php b/Postman/Postman-Mail/PostmanMailgunMailEngine.php
index f098ec9..abb0466 100644
--- a/Postman/Postman-Mail/PostmanMailgunMailEngine.php
+++ b/Postman/Postman-Mail/PostmanMailgunMailEngine.php
@@ -27,8 +27,8 @@ if ( ! class_exists( 'PostmanMailgunMailEngine' ) ) {
/**
*
- * @param unknown $senderEmail
- * @param unknown $accessToken
+ * @param mixed $senderEmail
+ * @param mixed $accessToken
*/
function __construct( $apiKey, $domainName ) {
assert( ! empty( $apiKey ) );
diff --git a/Postman/Postman-Mail/PostmanMailgunTransport.php b/Postman/Postman-Mail/PostmanMailgunTransport.php
index 4f79424..bd5490e 100644
--- a/Postman/Postman-Mail/PostmanMailgunTransport.php
+++ b/Postman/Postman-Mail/PostmanMailgunTransport.php
@@ -16,7 +16,7 @@ class PostmanMailgunTransport extends PostmanAbstractModuleTransport implements
/**
*
- * @param unknown $rootPluginFilenameAndPath
+ * @param mixed $rootPluginFilenameAndPath
*/
public function __construct( $rootPluginFilenameAndPath ) {
parent::__construct( $rootPluginFilenameAndPath );
@@ -83,7 +83,7 @@ class PostmanMailgunTransport extends PostmanAbstractModuleTransport implements
/**
*
- * @param unknown $data
+ * @param mixed $data
*/
public function prepareOptionsForExport( $data ) {
$data = parent::prepareOptionsForExport( $data );
@@ -139,8 +139,8 @@ class PostmanMailgunTransport extends PostmanAbstractModuleTransport implements
/**
*
- * @param unknown $hostname
- * @param unknown $response
+ * @param mixed $hostname
+ * @param mixed $response
*/
public function populateConfiguration( $hostname ) {
$response = parent::populateConfiguration( $hostname );
diff --git a/Postman/Postman-Mail/PostmanMandrillMailEngine.php b/Postman/Postman-Mail/PostmanMandrillMailEngine.php
index 7549a37..6ecc156 100644
--- a/Postman/Postman-Mail/PostmanMandrillMailEngine.php
+++ b/Postman/Postman-Mail/PostmanMandrillMailEngine.php
@@ -22,8 +22,8 @@ if ( ! class_exists( 'PostmanMandrillMailEngine' ) ) {
/**
*
- * @param unknown $senderEmail
- * @param unknown $accessToken
+ * @param mixed $senderEmail
+ * @param mixed $accessToken
*/
function __construct( $apiKey ) {
assert( ! empty( $apiKey ) );
diff --git a/Postman/Postman-Mail/PostmanMandrillTransport.php b/Postman/Postman-Mail/PostmanMandrillTransport.php
index 4526887..6dc2d6e 100644
--- a/Postman/Postman-Mail/PostmanMandrillTransport.php
+++ b/Postman/Postman-Mail/PostmanMandrillTransport.php
@@ -25,7 +25,7 @@ class PostmanMandrillTransport extends PostmanAbstractModuleTransport implements
/**
*
- * @param unknown $data
+ * @param mixed $data
*/
public function prepareOptionsForExport($data) {
$data = parent::prepareOptionsForExport ( $data );
diff --git a/Postman/Postman-Mail/PostmanMessage.php b/Postman/Postman-Mail/PostmanMessage.php
index 3398cb9..7f8949e 100644
--- a/Postman/Postman-Mail/PostmanMessage.php
+++ b/Postman/Postman-Mail/PostmanMessage.php
@@ -291,7 +291,7 @@ if ( ! class_exists( 'PostmanMessage' ) ) {
/**
* Set the charset
*
- * @param unknown $charset
+ * @param mixed $charset
*/
public function setCharset( $charset ) {
$this->charset = $charset;
@@ -310,7 +310,7 @@ if ( ! class_exists( 'PostmanMessage' ) ) {
}
/**
*
- * @param unknown $recipients
+ * @param mixed $recipients
* Array or comma-separated list of email addresses to send message.
* @throws Exception
*/
@@ -319,7 +319,7 @@ if ( ! class_exists( 'PostmanMessage' ) ) {
}
/**
*
- * @param unknown $recipients
+ * @param mixed $recipients
* Array or comma-separated list of email addresses to send message.
* @throws Exception
*/
@@ -328,7 +328,7 @@ if ( ! class_exists( 'PostmanMessage' ) ) {
}
/**
*
- * @param unknown $recipients
+ * @param mixed $recipients
* Array or comma-separated list of email addresses to send message.
* @throws Exception
*/
@@ -337,7 +337,7 @@ if ( ! class_exists( 'PostmanMessage' ) ) {
}
/**
*
- * @param unknown $recipients
+ * @param mixed $recipients
* Array or comma-separated list of email addresses to send message.
* @throws Exception
*/
@@ -391,8 +391,8 @@ if ( ! class_exists( 'PostmanMessage' ) ) {
* Add the headers that were processed in processHeaders()
* Zend requires that several headers are specially handled.
*
- * @param unknown $name
- * @param unknown $value
+ * @param mixed $name
+ * @param mixed $value
* @param Postman_Zend_Mail $mail
*/
private function processHeader( $name, $content ) {
@@ -477,9 +477,9 @@ if ( ! class_exists( 'PostmanMessage' ) ) {
/**
*
- * @param unknown $desc
- * @param unknown $name
- * @param unknown $content
+ * @param mixed $desc
+ * @param mixed $name
+ * @param mixed $content
*/
private function logProcessHeader( $desc, $name, $content ) {
$this->logger->debug( 'Processing ' . $desc . ' Header - ' . $name . ': ' . $content );
diff --git a/Postman/Postman-Mail/PostmanModuleTransport.php b/Postman/Postman-Mail/PostmanModuleTransport.php
index 8c4647b..64e685c 100644
--- a/Postman/Postman-Mail/PostmanModuleTransport.php
+++ b/Postman/Postman-Mail/PostmanModuleTransport.php
@@ -124,7 +124,7 @@ abstract class PostmanAbstractModuleTransport implements PostmanModuleTransport
/**
*
- * @param unknown $data
+ * @param mixed $data
*/
public function prepareOptionsForExport($data) {
// no-op
@@ -139,7 +139,7 @@ abstract class PostmanAbstractModuleTransport implements PostmanModuleTransport
/**
*
- * @param unknown $queryHostname
+ * @param mixed $queryHostname
*/
protected function createScribe($hostname) {
$scribe = new PostmanNonOAuthScribe ( $hostname );
@@ -281,8 +281,8 @@ abstract class PostmanAbstractModuleTransport implements PostmanModuleTransport
/**
*
- * @param unknown $hostname
- * @param unknown $response
+ * @param mixed $hostname
+ * @param mixed $response
*/
public function populateConfiguration($hostname) {
$configuration = array ();
@@ -290,8 +290,8 @@ abstract class PostmanAbstractModuleTransport implements PostmanModuleTransport
}
/**
*
- * @param unknown $winningRecommendation
- * @param unknown $response
+ * @param mixed $winningRecommendation
+ * @param mixed $response
*/
public function populateConfigurationFromRecommendation($winningRecommendation) {
$configuration = array ();
@@ -421,7 +421,7 @@ abstract class PostmanAbstractZendModuleTransport extends PostmanAbstractModuleT
/**
*
- * @param unknown $data
+ * @param mixed $data
*/
public function prepareOptionsForExport($data) {
$data = parent::prepareOptionsForExport ( $data );
@@ -455,7 +455,7 @@ abstract class PostmanAbstractZendModuleTransport extends PostmanAbstractModuleT
/**
*
- * @param unknown $queryHostname
+ * @param mixed $queryHostname
*/
protected function createScribe($hostname) {
$scribe = null;
@@ -508,7 +508,7 @@ abstract class PostmanAbstractZendModuleTransport extends PostmanAbstractModuleT
/**
*
- * @param unknown $encType
+ * @param mixed $encType
* @return string
*/
protected function getTransportDescription($encType) {
@@ -525,7 +525,7 @@ abstract class PostmanAbstractZendModuleTransport extends PostmanAbstractModuleT
/**
*
- * @param unknown $authType
+ * @param mixed $authType
*/
protected function getAuthenticationDescription($authType) {
if (PostmanOptions::AUTHENTICATION_TYPE_OAUTH2 == $authType) {
@@ -621,8 +621,8 @@ abstract class PostmanAbstractZendModuleTransport extends PostmanAbstractModuleT
/**
*
- * @param unknown $hostname
- * @param unknown $response
+ * @param mixed $hostname
+ * @param mixed $response
*/
public function populateConfiguration($hostname) {
$response = parent::populateConfiguration ( $hostname );
@@ -650,8 +650,8 @@ abstract class PostmanAbstractZendModuleTransport extends PostmanAbstractModuleT
/**
* Populate the Ajax response for the Setup Wizard / Manual Configuration
*
- * @param unknown $hostname
- * @param unknown $response
+ * @param mixed $hostname
+ * @param mixed $response
*/
public function populateConfigurationFromRecommendation($winningRecommendation) {
$response = parent::populateConfigurationFromRecommendation ( $winningRecommendation );
diff --git a/Postman/Postman-Mail/PostmanSendGridMailEngine.php b/Postman/Postman-Mail/PostmanSendGridMailEngine.php
index 61527c3..bd55978 100644
--- a/Postman/Postman-Mail/PostmanSendGridMailEngine.php
+++ b/Postman/Postman-Mail/PostmanSendGridMailEngine.php
@@ -22,8 +22,8 @@ if ( ! class_exists( 'PostmanSendGridMailEngine' ) ) {
/**
*
- * @param unknown $senderEmail
- * @param unknown $accessToken
+ * @param mixed $senderEmail
+ * @param mixed $accessToken
*/
function __construct( $apiKey ) {
assert( ! empty( $apiKey ) );
diff --git a/Postman/Postman-Mail/PostmanSendGridTransport.php b/Postman/Postman-Mail/PostmanSendGridTransport.php
index 8a40f47..b6fc66b 100644
--- a/Postman/Postman-Mail/PostmanSendGridTransport.php
+++ b/Postman/Postman-Mail/PostmanSendGridTransport.php
@@ -16,7 +16,7 @@ class PostmanSendGridTransport extends PostmanAbstractModuleTransport implements
/**
*
- * @param unknown $rootPluginFilenameAndPath
+ * @param mixed $rootPluginFilenameAndPath
*/
public function __construct($rootPluginFilenameAndPath) {
parent::__construct ( $rootPluginFilenameAndPath );
@@ -81,7 +81,7 @@ class PostmanSendGridTransport extends PostmanAbstractModuleTransport implements
/**
*
- * @param unknown $data
+ * @param mixed $data
*/
public function prepareOptionsForExport($data) {
$data = parent::prepareOptionsForExport ( $data );
@@ -129,8 +129,8 @@ class PostmanSendGridTransport extends PostmanAbstractModuleTransport implements
/**
*
- * @param unknown $hostname
- * @param unknown $response
+ * @param mixed $hostname
+ * @param mixed $response
*/
public function populateConfiguration($hostname) {
$response = parent::populateConfiguration ( $hostname );
diff --git a/Postman/Postman-Mail/PostmanSmtpModuleTransport.php b/Postman/Postman-Mail/PostmanSmtpModuleTransport.php
index b1f358d..08e833f 100644
--- a/Postman/Postman-Mail/PostmanSmtpModuleTransport.php
+++ b/Postman/Postman-Mail/PostmanSmtpModuleTransport.php
@@ -160,7 +160,7 @@ class PostmanSmtpModuleTransport extends PostmanAbstractZendModuleTransport impl
/**
* SendGrid will never recommend it's configuration
*
- * @param unknown $hostData
+ * @param mixed $hostData
*/
public function getConfigurationBid( PostmanWizardSocket $hostData, $userAuthOverride, $originalSmtpServer ) {
$port = $hostData->port;
diff --git a/Postman/Postman-Mail/PostmanTransportRegistry.php b/Postman/Postman-Mail/PostmanTransportRegistry.php
index ed212ab..17b8eb6 100644
--- a/Postman/Postman-Mail/PostmanTransportRegistry.php
+++ b/Postman/Postman-Mail/PostmanTransportRegistry.php
@@ -39,7 +39,7 @@ class PostmanTransportRegistry {
* B) when querying what a theoretical scenario involving this transport is like
* (ie.for ajax in config screen)
*
- * @param unknown $slug
+ * @param mixed $slug
*/
public function getTransport( $slug ) {
$transports = $this->getTransports();
@@ -61,7 +61,7 @@ class PostmanTransportRegistry {
/**
* Determine if a specific transport is registered in the directory.
*
- * @param unknown $slug
+ * @param mixed $slug
*/
public function isRegistered( $slug ) {
$transports = $this->getTransports();
@@ -143,8 +143,8 @@ class PostmanTransportRegistry {
/**
* Polls all the installed transports to get a complete list of sockets to probe for connectivity
*
- * @param unknown $hostname
- * @param unknown $isGmail
+ * @param mixed $hostname
+ * @param mixed $isGmail
* @return multitype:
*/
public function getSocketsForSetupWizardToProbe( $hostname = 'localhost', $smtpServerGuess = null ) {
@@ -178,7 +178,7 @@ class PostmanTransportRegistry {
*
* response should include ['success'], ['message'], ['priority']
*
- * @param unknown $hostData
+ * @param mixed $hostData
*/
public function getRecommendation( PostmanWizardSocket $hostData, $userAuthOverride, $originalSmtpServer ) {
$scrubbedUserAuthOverride = $this->scrubUserOverride( $hostData, $userAuthOverride );
@@ -193,7 +193,7 @@ class PostmanTransportRegistry {
/**
*
* @param PostmanWizardSocket $hostData
- * @param unknown $userAuthOverride
+ * @param mixed $userAuthOverride
* @return NULL
*/
private function scrubUserOverride( PostmanWizardSocket $hostData, $userAuthOverride ) {
diff --git a/Postman/Postman-Mail/PostmanZendMailEngine.php b/Postman/Postman-Mail/PostmanZendMailEngine.php
index a2079f2..e4ea286 100644
--- a/Postman/Postman-Mail/PostmanZendMailEngine.php
+++ b/Postman/Postman-Mail/PostmanZendMailEngine.php
@@ -47,8 +47,8 @@ if ( ! class_exists( 'PostmanZendMailEngine' ) ) {
/**
*
- * @param unknown $senderEmail
- * @param unknown $accessToken
+ * @param mixed $senderEmail
+ * @param mixed $accessToken
*/
function __construct( PostmanZendModuleTransport $transport ) {
assert( isset( $transport ) );
diff --git a/Postman/Postman-Mail/PostmanZendMailTransportConfigurationFactory.php b/Postman/Postman-Mail/PostmanZendMailTransportConfigurationFactory.php
index 2639497..08e1810 100644
--- a/Postman/Postman-Mail/PostmanZendMailTransportConfigurationFactory.php
+++ b/Postman/Postman-Mail/PostmanZendMailTransportConfigurationFactory.php
@@ -78,11 +78,11 @@ if (! class_exists ( 'PostmanOAuth2ConfigurationFactory' )) {
*
* Create the Configuration structure for Zend_Mail
*
- * @param unknown $hostname
- * @param unknown $port
- * @param unknown $securityType
- * @param unknown $authenticationType
- * @param unknown $initClientRequestEncoded
+ * @param mixed $hostname
+ * @param mixed $port
+ * @param mixed $securityType
+ * @param mixed $authenticationType
+ * @param mixed $initClientRequestEncoded
* @return multitype:unknown NULL
*/
private static function createConfiguration($logger, $hostname, $port, $securityType, $authenticationType, $initClientRequestEncoded) {
@@ -99,7 +99,7 @@ if (! class_exists ( 'PostmanOAuth2ConfigurationFactory' )) {
/**
* Create the vendor string (for Yahoo servers only)
*
- * @param unknown $hostname
+ * @param mixed $hostname
* @return string
*/
private static function createVendorString($hostname) {
@@ -116,9 +116,9 @@ if (! class_exists ( 'PostmanOAuth2ConfigurationFactory' )) {
/**
* Create the standard OAuth2 SMTP Authentication string
*
- * @param unknown $senderEmail
- * @param unknown $oauth2AccessToken
- * @param unknown $vendor
+ * @param mixed $senderEmail
+ * @param mixed $oauth2AccessToken
+ * @param mixed $vendor
* @return string
*/
private static function createAuthenticationString($senderEmail, $oauth2AccessToken, $vendor) {
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/EmailAddress.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/EmailAddress.php
index 537c330..f51645b 100644
--- a/Postman/Postman-Mail/Zend-1.12.10/Validate/EmailAddress.php
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/EmailAddress.php
@@ -321,7 +321,7 @@ class Postman_Zend_Validate_EmailAddress extends Postman_Zend_Validate_Abstract
/**
* Returns the set domainCheck option
*
- * @return unknown
+ * @return mixed
*/
public function getDomainCheck()
{