mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
23 lines
490 B
PHP
23 lines
490 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
|
||
|
|
}
|