From d3fe7fca091bdbd6053a723d60ed2c2f1520eb96 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 29 Apr 2024 11:32:54 +0200 Subject: [PATCH] Try to fix cti --- htdocs/core/triggers/interface_80_modStripe_Stripe.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/htdocs/core/triggers/interface_80_modStripe_Stripe.class.php b/htdocs/core/triggers/interface_80_modStripe_Stripe.class.php index 413f54d3c60..51dc357f264 100644 --- a/htdocs/core/triggers/interface_80_modStripe_Stripe.class.php +++ b/htdocs/core/triggers/interface_80_modStripe_Stripe.class.php @@ -228,8 +228,7 @@ class InterfaceStripe extends DolibarrTriggers dol_syslog("We got the customer, so now we update the credit card", LOG_DEBUG); $card = $stripe->cardStripe($customer, $object, $stripeacc, $servicestatus); if ($card) { - // @phan-suppress-next-line PhanTypeMismatchPropertyProbablyReal - // @phpstan-ignore-next-line + // @phpstan-ignore-next-line @phan-suppress-next-line PhanTypeMismatchPropertyProbablyReal $card->metadata = array('dol_id' => $object->id, 'dol_version' => DOL_VERSION, 'dol_entity' => $conf->entity, 'ipaddress' => (empty($_SERVER['REMOTE_ADDR']) ? '' : $_SERVER['REMOTE_ADDR'])); try { // @phan-suppress-next-line PhanDeprecatedFunction