From 3681486fe84f1dc96a8d3c75b2851610ac592bed Mon Sep 17 00:00:00 2001 From: jyhere Date: Wed, 12 Jul 2023 12:27:12 +0200 Subject: [PATCH] FIX: misleading phpdoc (#25342) --- htdocs/commande/class/commande.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/commande/class/commande.class.php b/htdocs/commande/class/commande.class.php index 29b4fc2aa70..64dd3ad564a 100644 --- a/htdocs/commande/class/commande.class.php +++ b/htdocs/commande/class/commande.class.php @@ -468,7 +468,7 @@ class Commande extends CommonOrder * @param User $user User making status change * @param int $idwarehouse Id of warehouse to use for stock decrease * @param int $notrigger 1=Does not execute triggers, 0= execute triggers - * @return int <=0 if OK, 0=Nothing done, >0 if KO + * @return int <0 if KO, 0=Nothing done, >0 if OK */ public function valid($user, $idwarehouse = 0, $notrigger = 0) {