Skip to content

Commit

Permalink
Disable autoloader when checking for Throwable
Browse files Browse the repository at this point in the history
  • Loading branch information
ob-stripe committed Dec 4, 2019
1 parent e91f2da commit b20d67f
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 b20d67f

Please sign in to comment.