mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix PhanTypeSuspiciousStringExpression
This commit is contained in:
parent
439839f1aa
commit
a19b3b2056
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
/* Copyright (C) 2006-2016 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2012 JF FERRY <jfefe@aternatik.fr>
|
||||
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
|
||||
*
|
||||
* 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
|
||||
|
|
@ -706,6 +707,7 @@ function updateContact($authentication, $contact)
|
|||
$error++;
|
||||
}
|
||||
}
|
||||
'@phan-var-force array{id:string} $contact';
|
||||
|
||||
if ((!$error) && ($objectfound)) {
|
||||
$db->commit();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user