diff options
Diffstat (limited to 'vendor/stripe/stripe-php/lib/Exception/OAuth/OAuthErrorException.php')
-rw-r--r-- | vendor/stripe/stripe-php/lib/Exception/OAuth/OAuthErrorException.php | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/vendor/stripe/stripe-php/lib/Exception/OAuth/OAuthErrorException.php b/vendor/stripe/stripe-php/lib/Exception/OAuth/OAuthErrorException.php index bded3c8..15d2b9c 100644 --- a/vendor/stripe/stripe-php/lib/Exception/OAuth/OAuthErrorException.php +++ b/vendor/stripe/stripe-php/lib/Exception/OAuth/OAuthErrorException.php @@ -1,19 +1,19 @@ -<?php - -namespace Stripe\Exception\OAuth; - -/** - * Implements properties and methods common to all (non-SPL) Stripe OAuth - * exceptions. - */ -abstract class OAuthErrorException extends \Stripe\Exception\ApiErrorException -{ - protected function constructErrorObject() - { - if (null === $this->jsonBody) { - return null; - } - - return \Stripe\OAuthErrorObject::constructFrom($this->jsonBody); - } -} +<?php
+
+namespace Stripe\Exception\OAuth;
+
+/**
+ * Implements properties and methods common to all (non-SPL) Stripe OAuth
+ * exceptions.
+ */
+abstract class OAuthErrorException extends \Stripe\Exception\ApiErrorException
+{
+ protected function constructErrorObject()
+ {
+ if (null === $this->jsonBody) {
+ return null;
+ }
+
+ return \Stripe\OAuthErrorObject::constructFrom($this->jsonBody);
+ }
+}
|