summaryrefslogtreecommitdiff
path: root/Postman/Postman-Email-Log/PostmanEmailLogService.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-Email-Log/PostmanEmailLogService.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-Email-Log/PostmanEmailLogService.php')
-rw-r--r--Postman/Postman-Email-Log/PostmanEmailLogService.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/Postman/Postman-Email-Log/PostmanEmailLogService.php b/Postman/Postman-Email-Log/PostmanEmailLogService.php
index 0064a64..b1b1dff 100644
--- a/Postman/Postman-Email-Log/PostmanEmailLogService.php
+++ b/Postman/Postman-Email-Log/PostmanEmailLogService.php
@@ -67,7 +67,7 @@ if ( ! class_exists( 'PostmanEmailLogService' ) ) {
* Logs successful email attempts
*
* @param PostmanMessage $message
- * @param unknown $transcript
+ * @param mixed $transcript
* @param PostmanModuleTransport $transport
*/
public function writeSuccessLog( PostmanEmailLog $log, PostmanMessage $message, $transcript, PostmanModuleTransport $transport ) {
@@ -88,13 +88,13 @@ if ( ! class_exists( 'PostmanEmailLogService' ) ) {
* Logs failed email attempts, requires more metadata so the email can be resent in the future
*
* @param PostmanMessage $message
- * @param unknown $transcript
+ * @param mixed $transcript
* @param PostmanModuleTransport $transport
- * @param unknown $statusMessage
- * @param unknown $originalTo
- * @param unknown $originalSubject
- * @param unknown $originalMessage
- * @param unknown $originalHeaders
+ * @param mixed $statusMessage
+ * @param mixed $originalTo
+ * @param mixed $originalSubject
+ * @param mixed $originalMessage
+ * @param mixed $originalHeaders
*/
public function writeFailureLog( PostmanEmailLog $log, PostmanMessage $message = null, $transcript, PostmanModuleTransport $transport, $statusMessage ) {
if ( PostmanOptions::getInstance()->isMailLoggingEnabled() ) {
@@ -227,9 +227,9 @@ if ( ! class_exists( 'PostmanEmailLogService' ) ) {
* Creates a Log object for use by writeToEmailLog()
*
* @param PostmanMessage $message
- * @param unknown $transcript
- * @param unknown $statusMessage
- * @param unknown $success
+ * @param mixed $transcript
+ * @param mixed $statusMessage
+ * @param mixed $success
* @param PostmanModuleTransport $transport
* @return PostmanEmailLog
*/
@@ -284,7 +284,7 @@ if ( ! class_exists( 'PostmanEmailLogPurger' ) ) {
/**
*
- * @return unknown
+ * @return mixed
*/
function __construct( $args = array() ) {
$this->logger = new PostmanLogger( get_class( $this ) );
@@ -313,7 +313,7 @@ if ( ! class_exists( 'PostmanEmailLogPurger' ) ) {
/**
*
* @param array $posts
- * @param unknown $postid
+ * @param mixed $postid
*/
function verifyLogItemExistsAndRemove( $postid ) {
$force_delete = true;
@@ -336,7 +336,7 @@ if ( ! class_exists( 'PostmanEmailLogPurger' ) ) {
/**
*
- * @param unknown $size
+ * @param mixed $size
*/
function truncateLogItems( $size ) {
$index = count( $this->posts );