34968-vm/vendor/stripe/stripe-php/lib/Exception/ExceptionInterface.php
Flatlogic Bot 369f552c9f V6
2025-10-15 00:49:03 +00:00

19 lines
472 B
PHP

<?php
namespace Stripe\Exception;
// TODO: remove this check once we drop support for PHP 5
if (\interface_exists(\Throwable::class, false)) {
/**
* The base interface for all Stripe exceptions.
*/
interface ExceptionInterface extends \Throwable {}
} else {
/**
* The base interface for all Stripe exceptions.
*/
// phpcs:disable PSR1.Classes.ClassDeclaration.MultipleClasses
interface ExceptionInterface {}
// phpcs:enable
}