summaryrefslogtreecommitdiff
path: root/Postman/PostmanWpMail.php
diff options
context:
space:
mode:
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:' );