Try to fix cti
This commit is contained in:
parent
2bd6b32974
commit
d3fe7fca09
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue