summaryrefslogtreecommitdiff
path: root/Postman/PostmanWpMail.php
diff options
context:
space:
mode:
authorNiels de Blaauw <niels@level-level.com>2019-03-13 11:01:58 +0100
committerNiels de Blaauw <niels@level-level.com>2019-03-13 11:01:58 +0100
commit82e333429a153ee2e327950314af6520a23617da (patch)
treea29fe15494ca72b6272331556dfb760e7caeb656 /Postman/PostmanWpMail.php
parent08511ba5aa15b6a7100fa2856700784c27a2c15e (diff)
downloadPost-SMTP-82e333429a153ee2e327950314af6520a23617da.zip
Fixes #27, changes 'unknown' doctypes to 'mixed'
Diffstat (limited to 'Postman/PostmanWpMail.php')
-rw-r--r--Postman/PostmanWpMail.php42
1 files changed, 21 insertions, 21 deletions
diff --git a/Postman/PostmanWpMail.php b/Postman/PostmanWpMail.php
index 173b35e..ab766f0 100644
--- a/Postman/PostmanWpMail.php
+++ b/Postman/PostmanWpMail.php
@@ -29,11 +29,11 @@ if ( ! class_exists( 'PostmanWpMail' ) ) {
* Exceptions are held for later inspection.
* An instance of PostmanState updates the success/fail tally.
*
- * @param unknown $to
- * @param unknown $subject
- * @param unknown $body
- * @param unknown $headers
- * @param unknown $attachments
+ * @param mixed $to
+ * @param mixed $subject
+ * @param mixed $body
+ * @param mixed $headers
+ * @param mixed $attachments
* @return boolean
*/
public function send( $to, $subject, $message, $headers = '', $attachments = array() ) {
@@ -58,11 +58,11 @@ if ( ! class_exists( 'PostmanWpMail' ) ) {
/**
* Builds a PostmanMessage based on the WordPress wp_mail parameters
*
- * @param unknown $to
- * @param unknown $subject
- * @param unknown $message
- * @param unknown $headers
- * @param unknown $attachments
+ * @param mixed $to
+ * @param mixed $subject
+ * @param mixed $message
+ * @param mixed $headers
+ * @param mixed $attachments
*/
private function processWpMailCall( $to, $subject, $message, $headers, $attachments ) {
$this->logger->trace( 'wp_mail parameters before applying WordPress wp_mail filter:' );
@@ -282,7 +282,7 @@ if ( ! class_exists( 'PostmanWpMail' ) ) {
* Clean up after sending the mail
*
* @param PostmanZendMailEngine $engine
- * @param unknown $startTime
+ * @param mixed $startTime
*/
private function postSend( PostmanMailEngine $engine, $startTime, PostmanOptions $options, PostmanModuleTransport $transport ) {
// save the transcript
@@ -338,11 +338,11 @@ if ( ! class_exists( 'PostmanWpMail' ) ) {
/**
* Aggregates all the content into a Message to be sent to the MailEngine
*
- * @param unknown $to
- * @param unknown $subject
- * @param unknown $body
- * @param unknown $headers
- * @param unknown $attachments
+ * @param mixed $to
+ * @param mixed $subject
+ * @param mixed $body
+ * @param mixed $headers
+ * @param mixed $attachments
*/
private function populateMessageFromWpMailParams( PostmanMessage $message, $to, $subject, $body, $headers, $attachments ) {
$message->addHeaders( $headers );
@@ -356,11 +356,11 @@ if ( ! class_exists( 'PostmanWpMail' ) ) {
/**
* Trace the parameters to aid in debugging
*
- * @param unknown $to
- * @param unknown $subject
- * @param unknown $body
- * @param unknown $headers
- * @param unknown $attachments
+ * @param mixed $to
+ * @param mixed $subject
+ * @param mixed $body
+ * @param mixed $headers
+ * @param mixed $attachments
*/
private function traceParameters( $to, $subject, $message, $headers, $attachments ) {
$this->logger->trace( 'to:' );