Force type of object

This commit is contained in:
Laurent Destailleur 2017-09-12 19:03:30 +02:00
parent 47d2350ad4
commit 6370e2f514

View File

@ -2006,7 +2006,7 @@ class TaskComment extends CommonObject
* @param int $notrigger 0=launch triggers after, 1=disable triggers * @param int $notrigger 0=launch triggers after, 1=disable triggers
* @return int <=0 if KO, >0 if OK * @return int <=0 if KO, >0 if OK
*/ */
function update($user, $notrigger=0) function update(User $user, $notrigger=0)
{ {
global $conf, $langs; global $conf, $langs;
$error=0; $error=0;