mirror of
https://github.com/itflow-org/itflow
synced 2026-07-23 08:50:42 +00:00
Rename plugins to libs and update all file references
This commit is contained in:
18
libs/stripe-php/lib/Exception/ExceptionInterface.php
Normal file
18
libs/stripe-php/lib/Exception/ExceptionInterface.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?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
|
||||
}
|
||||
Reference in New Issue
Block a user