From 5b56caa13e61ba97004bfd8c966507a7b149121d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Sat, 13 Jan 2024 15:34:02 +0100 Subject: [PATCH] fix phpstan (#27481) --- htdocs/mrp/class/mo.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/mrp/class/mo.class.php b/htdocs/mrp/class/mo.class.php index 24afa8c5d39..b06fb5ca076 100644 --- a/htdocs/mrp/class/mo.class.php +++ b/htdocs/mrp/class/mo.class.php @@ -1,7 +1,7 @@ * Copyright (C) 2020 Lenin Rivas - * Copyright (C) 2023 Frédéric France + * Copyright (C) 2023-2024 Frédéric France * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -1234,7 +1234,7 @@ class Mo extends CommonObject * Cancel consumed and produced lines (movement stocks) * * @param User $user Object user that modify - * @param bool $mode Type line supported (0 by default) (0: consumed and produced lines; 1: consumed lines; 2: produced lines) + * @param int $mode Type line supported (0 by default) (0: consumed and produced lines; 1: consumed lines; 2: produced lines) * @param bool $also_delete_lines true if the consumed/produced lines is deleted (false by default) * @param int $notrigger 1=Does not execute triggers, 0=Execute triggers * @return int Return integer <0 if KO, 0=Nothing done, >0 if OK