diff --git a/src/Core/Exception/AuthenticationFailedException.php b/src/Core/Exception/AuthenticationFailedException.php index 125f41d..1d14b70 100644 --- a/src/Core/Exception/AuthenticationFailedException.php +++ b/src/Core/Exception/AuthenticationFailedException.php @@ -13,16 +13,13 @@ namespace Clivern\Imap\Core\Exception; class AuthenticationFailedException extends \Exception { + /** + * Class Constructor + * + * @param string $error + */ public function __construct($error = null) { - parent::__construct( - sprintf( - "Authentication failed with error: %s", - $server, - $port, - $email, - $error - ) - ); + parent::__construct(sprintf("Authentication failed with error: %s", $error)); } } \ No newline at end of file diff --git a/src/Core/Exception/MessageDoesNotExistException.php b/src/Core/Exception/MessageDoesNotExistException.php index f16074b..ca58661 100644 --- a/src/Core/Exception/MessageDoesNotExistException.php +++ b/src/Core/Exception/MessageDoesNotExistException.php @@ -12,6 +12,7 @@ namespace Clivern\Imap\Core\Exception; */ class MessageDoesNotExistException extends \Exception { + /** * Class Constructor *