Skip to content

Commit

Permalink
Merge pull request #816 from stripe/ob-fix-813
Browse files Browse the repository at this point in the history
Disable autoloader when checking for `Throwable`
  • Loading branch information
ob-stripe authored Dec 4, 2019
2 parents e91f2da + b20d67f commit dcb5ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Exception/ExceptionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Stripe\Exception;

// TODO: remove this check once we drop support for PHP 5
if (interface_exists(\Throwable::class)) {
if (interface_exists(\Throwable::class, false)) {
/**
* The base interface for all Stripe exceptions.
*
Expand Down

0 comments on commit dcb5ba8

Please sign in to comment.