From 6cfcdbfe5683cbf839423320f3fadaada406d5d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Doursenaud?= Date: Wed, 23 Apr 2014 11:52:48 +0200 Subject: [PATCH] Qual: Wrong type in method documentation --- htdocs/core/class/commonobject.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index 22b340a6fab..5508887f139 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -241,8 +241,8 @@ abstract class CommonObject /** * Copy contact from one element to current * - * @param int $objFrom Source element - * @param int $source Nature of contact ('internal' or 'external') + * @param CommonObject $objFrom Source element + * @param string $source Nature of contact ('internal' or 'external') * @return int >0 if OK, <0 if KO */ function copy_linked_contact($objFrom, $source='internal')