summaryrefslogtreecommitdiff
path: root/Postman/PostmanMessageHandler.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/PostmanMessageHandler.php
parent08511ba5aa15b6a7100fa2856700784c27a2c15e (diff)
downloadPost-SMTP-82e333429a153ee2e327950314af6520a23617da.zip
Fixes #27, changes 'unknown' doctypes to 'mixed'
Diffstat (limited to 'Postman/PostmanMessageHandler.php')
-rw-r--r--Postman/PostmanMessageHandler.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/Postman/PostmanMessageHandler.php b/Postman/PostmanMessageHandler.php
index e592369..7a218e8 100644
--- a/Postman/PostmanMessageHandler.php
+++ b/Postman/PostmanMessageHandler.php
@@ -12,7 +12,7 @@ if (! class_exists ( 'PostmanMessageHandler' )) {
/**
*
- * @param unknown $options
+ * @param mixed $options
*/
function __construct() {
$this->logger = new PostmanLogger ( get_class ( $this ) );
@@ -26,21 +26,21 @@ if (! class_exists ( 'PostmanMessageHandler' )) {
/**
*
- * @param unknown $message
+ * @param mixed $message
*/
public function addError($message) {
$this->storeMessage ( $message, 'error' );
}
/**
*
- * @param unknown $message
+ * @param mixed $message
*/
public function addWarning($message) {
$this->storeMessage ( $message, 'warning' );
}
/**
*
- * @param unknown $message
+ * @param mixed $message
*/
public function addMessage($message) {
$this->storeMessage ( $message, 'notify' );
@@ -49,8 +49,8 @@ if (! class_exists ( 'PostmanMessageHandler' )) {
/**
* store messages for display later
*
- * @param unknown $message
- * @param unknown $type
+ * @param mixed $message
+ * @param mixed $type
*/
private function storeMessage($message, $type) {
$messageArray = array ();
@@ -102,8 +102,8 @@ if (! class_exists ( 'PostmanMessageHandler' )) {
/**
* putput message
*
- * @param unknown $message
- * @param unknown $className
+ * @param mixed $message
+ * @param mixed $className
*/
public function printMessage($message, $className) {
printf ( '<div class="%s"><p>%s</p></div>', $className, $message );