From c22b80831d764518243c2281c845c0be719a9462 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 1 Oct 2018 17:14:28 +0200 Subject: [PATCH] fix regression --- htdocs/core/class/notify.class.php | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/htdocs/core/class/notify.class.php b/htdocs/core/class/notify.class.php index f1b2d1736d9..eee25383931 100644 --- a/htdocs/core/class/notify.class.php +++ b/htdocs/core/class/notify.class.php @@ -31,17 +31,36 @@ require_once DOL_DOCUMENT_ROOT .'/core/class/CMailFile.class.php'; */ class Notify { - var $id; - var $db; - var $error; - var $errors=array(); + /** + * @var int ID + */ + public $id; + + /** + * @var DoliDB Database handler. + */ + public $db; + + /** + * @var string Error code (or message) + */ + public $error=''; + + /** + * @var string[] Error codes (or messages) + */ + public $errors = array(); var $author; var $ref; var $date; var $duree; var $note; - var $fk_project; + + /** + * @var int Project ID + */ + public $fk_project; // Les codes actions sont definis dans la table llx_notify_def