From f7de9333bb4c68732e98ad85f15bb1fa5f30f0f6 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 27 Oct 2020 19:29:42 +0100 Subject: [PATCH] Doxygen --- htdocs/core/modules/ticket/mod_ticket_simple.php | 6 +++--- htdocs/core/modules/ticket/mod_ticket_universal.php | 8 ++++---- htdocs/ticket/class/ticket.class.php | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/htdocs/core/modules/ticket/mod_ticket_simple.php b/htdocs/core/modules/ticket/mod_ticket_simple.php index 679224c5357..2badaf4a33f 100644 --- a/htdocs/core/modules/ticket/mod_ticket_simple.php +++ b/htdocs/core/modules/ticket/mod_ticket_simple.php @@ -115,9 +115,9 @@ class mod_ticket_simple extends ModeleNumRefTicket /** * Return next value * - * @param Societe $objsoc Object third party - * @param Project $ticket Object ticket - * @return string Value if OK, 0 if KO + * @param Societe $objsoc Object third party + * @param Ticket $ticket Object ticket + * @return string Value if OK, 0 if KO */ public function getNextValue($objsoc, $ticket) { diff --git a/htdocs/core/modules/ticket/mod_ticket_universal.php b/htdocs/core/modules/ticket/mod_ticket_universal.php index 010eb973f9b..db1f9e3b391 100644 --- a/htdocs/core/modules/ticket/mod_ticket_universal.php +++ b/htdocs/core/modules/ticket/mod_ticket_universal.php @@ -116,9 +116,9 @@ class mod_ticket_universal extends ModeleNumRefTicket /** * Return next value * - * @param Societe $objsoc Object third party - * @param Project $ticket Object ticket - * @return string Value if OK, 0 if KO + * @param Societe $objsoc Object third party + * @param Ticket $ticket Object ticket + * @return string Value if OK, 0 if KO */ public function getNextValue($objsoc, $ticket) { @@ -134,7 +134,7 @@ class mod_ticket_universal extends ModeleNumRefTicket return 0; } - $date = empty($ticket->date_c) ? dol_now() : $ticket->datec; + $date = empty($ticket->datec) ? dol_now() : $ticket->datec; $numFinal = get_next_value($db, $mask, 'ticket', 'ref', '', $objsoc->code_client, $date); return $numFinal; diff --git a/htdocs/ticket/class/ticket.class.php b/htdocs/ticket/class/ticket.class.php index 5ef0bb4148a..4cd7fed23d8 100644 --- a/htdocs/ticket/class/ticket.class.php +++ b/htdocs/ticket/class/ticket.class.php @@ -157,13 +157,13 @@ class Ticket extends CommonObject */ public $severity_label; - /** + /** * Email from user */ public $email_from; /** - * @var int Création date + * @var int Creation date */ public $datec = '';