modern-events-calendar-lite/app/api/Stripe/Exception/ExceptionInterface.php

23 lines
512 B
PHP
Raw Normal View History

2024-10-15 12:04:03 +02:00
<?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
}