@@ -592,7 +592,7 @@ |
||
592 | 592 | |
593 | 593 | $paymentintent = \Stripe\PaymentIntent::create($dataforintent, $arrayofoptions); |
594 | 594 | |
595 | - if ($paymentintent instanceOf \Stripe\PaymentIntent) { |
|
595 | + if ($paymentintent instanceof \Stripe\PaymentIntent) { |
|
596 | 596 | dol_syslog(get_class($this)."::getPaymentIntent paymentintent is a defined object"); |
597 | 597 | |
598 | 598 | // Store the payment intent |