diff options
Diffstat (limited to 'Postman/Postman-Email-Log')
-rw-r--r-- | Postman/Postman-Email-Log/PostmanEmailLogController.php | 4 | ||||
-rw-r--r-- | Postman/Postman-Email-Log/PostmanEmailLogService.php | 26 |
2 files changed, 15 insertions, 15 deletions
diff --git a/Postman/Postman-Email-Log/PostmanEmailLogController.php b/Postman/Postman-Email-Log/PostmanEmailLogController.php index ef1f7c5..530b3a5 100644 --- a/Postman/Postman-Email-Log/PostmanEmailLogController.php +++ b/Postman/Postman-Email-Log/PostmanEmailLogController.php @@ -134,8 +134,8 @@ class PostmanEmailLogController { /** * TODO move this somewhere reusable * - * @param unknown $parameterName - * @return unknown + * @param mixed $parameterName + * @return mixed */ private function getRequestParameter( $parameterName ) { if ( isset( $_POST [ $parameterName ] ) ) { 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 ); |