Fix PhanTypeSuspiciousStringExpression

This commit is contained in:
MDW 2024-03-16 22:53:16 +01:00
parent 439839f1aa
commit a19b3b2056
No known key found for this signature in database

View File

@ -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();