From 98e9dc2e478641c2d587989d75e5b8efaff3eb3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Sat, 16 Aug 2025 02:41:48 +0200 Subject: [PATCH] add doc (#34950) --- htdocs/core/tpl/notes.tpl.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/core/tpl/notes.tpl.php b/htdocs/core/tpl/notes.tpl.php index 6fa97abde4f..df6625a01fd 100644 --- a/htdocs/core/tpl/notes.tpl.php +++ b/htdocs/core/tpl/notes.tpl.php @@ -47,6 +47,8 @@ $note_public = 'note_public'; $note_private = 'note_private'; if ($module == "product") { + '@phan-var-force Product $object'; + /** @var Product $object */ $module = ($object->type == Product::TYPE_SERVICE ? 'service' : 'product'); } $colwidth = (isset($colwidth) ? $colwidth : (empty($cssclass) ? '25' : ''));