From a99b7ddee6958848a41b4bea79e35a79578ab655 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 22 Apr 2016 18:12:31 +0200 Subject: [PATCH] Fix PHPCS --- htdocs/core/class/commonobject.class.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index a4dca05ce82..941f9dddd27 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -4230,12 +4230,14 @@ abstract class CommonObject } else return 0; } + /** * Update an exta field value for the current object. * Data to describe values to insert/update are stored into $this->array_options=array('options_codeforfield1'=>'valueforfield1', 'options_codeforfield2'=>'valueforfield2', ...) * This function delte record with all extrafields and insert them again from the array $this->array_options. - * $key key of the extrafield - * @return int -1=error, O=did nothing, 1=OK + * + * @param string $key Key of the extrafield + * @return int -1=error, O=did nothing, 1=OK */ function updateExtraField($key) {