summaryrefslogtreecommitdiff
path: root/Postman/Postman-Mail/PostmanMessage.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-Mail/PostmanMessage.php
parentc88e7ad0b42cefd8fb7b509c8c2e355f567d9434 (diff)
parent09ad01149ef5981407149bc3c9502058482fb419 (diff)
downloadPost-SMTP-6b0c4d5d97cac613ad8218fc9f0779eec63c28e3.zip
Merge remote-tracking branch 'origin/dev'
Diffstat (limited to 'Postman/Postman-Mail/PostmanMessage.php')
-rw-r--r--Postman/Postman-Mail/PostmanMessage.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/Postman/Postman-Mail/PostmanMessage.php b/Postman/Postman-Mail/PostmanMessage.php
index 2af67ef..7f8949e 100644
--- a/Postman/Postman-Mail/PostmanMessage.php
+++ b/Postman/Postman-Mail/PostmanMessage.php
@@ -52,7 +52,7 @@ if ( ! class_exists( 'PostmanMessage' ) ) {
}
function __get( $name ) {
- $message = __( '<code>%1$s</code> property of a <code>PostmanMessage</code> object is <strong>not supported</strong>. For now all of this class properties are private.', Postman::TEXT_DOMAIN );
+ $message = __( '<code>%1$s</code> property of a <code>PostmanMessage</code> object is <strong>not supported</strong>. For now all of this class properties are private.', 'post-smtp' );
if ( WP_DEBUG ) {
trigger_error( sprintf( $message, $name ) );
@@ -63,7 +63,7 @@ if ( ! class_exists( 'PostmanMessage' ) ) {
$class = new ReflectionClass(__CLASS__);
$methods = $class->getMethods(ReflectionMethod::IS_PUBLIC );
- $message = __( '<code>%1$s</code> method of a <code>PostmanMessage</code> object is <strong>not supported</strong>. Use one of the following methods <pre><code>%2$s</code></pre>', Postman::TEXT_DOMAIN );
+ $message = __( '<code>%1$s</code> method of a <code>PostmanMessage</code> object is <strong>not supported</strong>. Use one of the following methods <pre><code>%2$s</code></pre>', 'post-smtp' );
if ( WP_DEBUG ) {
trigger_error( sprintf( $message, $name, print_r( $methods, true ) ) );
@@ -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 );