diff --git a/lib/Account.php b/lib/Account.php index 22d9b90e3..57581f828 100644 --- a/lib/Account.php +++ b/lib/Account.php @@ -30,7 +30,7 @@ */ class Account extends ApiResource { - const OBJECT_NAME = "account"; + const OBJECT_NAME = 'account'; use ApiOperations\All; use ApiOperations\Create; diff --git a/lib/AccountLink.php b/lib/AccountLink.php index 692447dbf..054ee260d 100644 --- a/lib/AccountLink.php +++ b/lib/AccountLink.php @@ -14,7 +14,7 @@ */ class AccountLink extends ApiResource { - const OBJECT_NAME = "account_link"; + const OBJECT_NAME = 'account_link'; use ApiOperations\Create; } diff --git a/lib/AlipayAccount.php b/lib/AlipayAccount.php index 1dcc09517..b95cb35f3 100644 --- a/lib/AlipayAccount.php +++ b/lib/AlipayAccount.php @@ -12,7 +12,7 @@ */ class AlipayAccount extends ApiResource { - const OBJECT_NAME = "alipay_account"; + const OBJECT_NAME = 'alipay_account'; use ApiOperations\Delete; use ApiOperations\Update; diff --git a/lib/ApplePayDomain.php b/lib/ApplePayDomain.php index 08fe6eb6a..9837f633c 100644 --- a/lib/ApplePayDomain.php +++ b/lib/ApplePayDomain.php @@ -15,7 +15,7 @@ */ class ApplePayDomain extends ApiResource { - const OBJECT_NAME = "apple_pay_domain"; + const OBJECT_NAME = 'apple_pay_domain'; use ApiOperations\All; use ApiOperations\Create; diff --git a/lib/ApplicationFee.php b/lib/ApplicationFee.php index 2a8be248a..07f6f0acd 100644 --- a/lib/ApplicationFee.php +++ b/lib/ApplicationFee.php @@ -24,7 +24,7 @@ */ class ApplicationFee extends ApiResource { - const OBJECT_NAME = "application_fee"; + const OBJECT_NAME = 'application_fee'; use ApiOperations\All; use ApiOperations\NestedResource; diff --git a/lib/ApplicationFeeRefund.php b/lib/ApplicationFeeRefund.php index 77ba0ccd7..9b8c1b7fa 100644 --- a/lib/ApplicationFeeRefund.php +++ b/lib/ApplicationFeeRefund.php @@ -18,7 +18,7 @@ */ class ApplicationFeeRefund extends ApiResource { - const OBJECT_NAME = "fee_refund"; + const OBJECT_NAME = 'fee_refund'; use ApiOperations\Update { save as protected _save; diff --git a/lib/Balance.php b/lib/Balance.php index dfa1d3aa9..aacd60cbe 100644 --- a/lib/Balance.php +++ b/lib/Balance.php @@ -15,7 +15,7 @@ */ class Balance extends SingletonApiResource { - const OBJECT_NAME = "balance"; + const OBJECT_NAME = 'balance'; /** * @param array|string|null $opts diff --git a/lib/BalanceTransaction.php b/lib/BalanceTransaction.php index 13c23d2bc..44e1b9032 100644 --- a/lib/BalanceTransaction.php +++ b/lib/BalanceTransaction.php @@ -24,7 +24,7 @@ */ class BalanceTransaction extends ApiResource { - const OBJECT_NAME = "balance_transaction"; + const OBJECT_NAME = 'balance_transaction'; use ApiOperations\All; use ApiOperations\Retrieve; diff --git a/lib/BankAccount.php b/lib/BankAccount.php index 0a6581aa7..2f7bb5fb4 100644 --- a/lib/BankAccount.php +++ b/lib/BankAccount.php @@ -25,7 +25,7 @@ */ class BankAccount extends ApiResource { - const OBJECT_NAME = "bank_account"; + const OBJECT_NAME = 'bank_account'; use ApiOperations\Delete; use ApiOperations\Update; diff --git a/lib/BitcoinReceiver.php b/lib/BitcoinReceiver.php index 5bf4d738f..734476dae 100644 --- a/lib/BitcoinReceiver.php +++ b/lib/BitcoinReceiver.php @@ -35,7 +35,7 @@ */ class BitcoinReceiver extends ApiResource { - const OBJECT_NAME = "bitcoin_receiver"; + const OBJECT_NAME = 'bitcoin_receiver'; use ApiOperations\All; use ApiOperations\Retrieve; diff --git a/lib/BitcoinTransaction.php b/lib/BitcoinTransaction.php index 122be4231..72aaeb372 100644 --- a/lib/BitcoinTransaction.php +++ b/lib/BitcoinTransaction.php @@ -9,5 +9,5 @@ */ class BitcoinTransaction extends ApiResource { - const OBJECT_NAME = "bitcoin_transaction"; + const OBJECT_NAME = 'bitcoin_transaction'; } diff --git a/lib/Capability.php b/lib/Capability.php index 86324ad58..85370cc0f 100644 --- a/lib/Capability.php +++ b/lib/Capability.php @@ -17,7 +17,7 @@ */ class Capability extends ApiResource { - const OBJECT_NAME = "capability"; + const OBJECT_NAME = 'capability'; use ApiOperations\Update; diff --git a/lib/Card.php b/lib/Card.php index f7dd9d519..c6c5d56c9 100644 --- a/lib/Card.php +++ b/lib/Card.php @@ -38,7 +38,7 @@ */ class Card extends ApiResource { - const OBJECT_NAME = "card"; + const OBJECT_NAME = 'card'; use ApiOperations\Delete; use ApiOperations\Update; diff --git a/lib/Charge.php b/lib/Charge.php index 18a27c949..dd210606a 100644 --- a/lib/Charge.php +++ b/lib/Charge.php @@ -54,7 +54,7 @@ */ class Charge extends ApiResource { - const OBJECT_NAME = "charge"; + const OBJECT_NAME = 'charge'; use ApiOperations\All; use ApiOperations\Create; diff --git a/lib/Checkout/Session.php b/lib/Checkout/Session.php index 1fd639ca4..e4ee896d8 100644 --- a/lib/Checkout/Session.php +++ b/lib/Checkout/Session.php @@ -25,7 +25,7 @@ */ class Session extends \Stripe\ApiResource { - const OBJECT_NAME = "checkout.session"; + const OBJECT_NAME = 'checkout.session'; use \Stripe\ApiOperations\Create; use \Stripe\ApiOperations\Retrieve; diff --git a/lib/Collection.php b/lib/Collection.php index 45ed45b4e..f1e9266b6 100644 --- a/lib/Collection.php +++ b/lib/Collection.php @@ -14,7 +14,7 @@ */ class Collection extends StripeObject implements \IteratorAggregate { - const OBJECT_NAME = "list"; + const OBJECT_NAME = 'list'; use ApiOperations\Request; diff --git a/lib/CountrySpec.php b/lib/CountrySpec.php index ef02c340b..3599c015b 100644 --- a/lib/CountrySpec.php +++ b/lib/CountrySpec.php @@ -18,7 +18,7 @@ */ class CountrySpec extends ApiResource { - const OBJECT_NAME = "country_spec"; + const OBJECT_NAME = 'country_spec'; use ApiOperations\All; use ApiOperations\Retrieve; diff --git a/lib/Coupon.php b/lib/Coupon.php index 82fe19de4..53300474b 100644 --- a/lib/Coupon.php +++ b/lib/Coupon.php @@ -25,7 +25,7 @@ */ class Coupon extends ApiResource { - const OBJECT_NAME = "coupon"; + const OBJECT_NAME = 'coupon'; use ApiOperations\All; use ApiOperations\Create; diff --git a/lib/CreditNote.php b/lib/CreditNote.php index 4ff3841cf..93dc25a11 100644 --- a/lib/CreditNote.php +++ b/lib/CreditNote.php @@ -28,7 +28,7 @@ */ class CreditNote extends ApiResource { - const OBJECT_NAME = "credit_note"; + const OBJECT_NAME = 'credit_note'; use ApiOperations\All; use ApiOperations\Create; diff --git a/lib/Customer.php b/lib/Customer.php index a581fb67b..c1d7d92c6 100644 --- a/lib/Customer.php +++ b/lib/Customer.php @@ -33,7 +33,7 @@ */ class Customer extends ApiResource { - const OBJECT_NAME = "customer"; + const OBJECT_NAME = 'customer'; use ApiOperations\All; use ApiOperations\Create; diff --git a/lib/CustomerBalanceTransaction.php b/lib/CustomerBalanceTransaction.php index 357b0b83c..ac2384f7a 100644 --- a/lib/CustomerBalanceTransaction.php +++ b/lib/CustomerBalanceTransaction.php @@ -23,7 +23,7 @@ */ class CustomerBalanceTransaction extends ApiResource { - const OBJECT_NAME = "customer_balance_transaction"; + const OBJECT_NAME = 'customer_balance_transaction'; /** * Possible string representations of a balance transaction's type. diff --git a/lib/Discount.php b/lib/Discount.php index 68bfc0fd7..6af84fec1 100644 --- a/lib/Discount.php +++ b/lib/Discount.php @@ -16,5 +16,5 @@ */ class Discount extends StripeObject { - const OBJECT_NAME = "discount"; + const OBJECT_NAME = 'discount'; } diff --git a/lib/Dispute.php b/lib/Dispute.php index eb8dd7dd0..f79f74b1e 100644 --- a/lib/Dispute.php +++ b/lib/Dispute.php @@ -25,7 +25,7 @@ */ class Dispute extends ApiResource { - const OBJECT_NAME = "dispute"; + const OBJECT_NAME = 'dispute'; use ApiOperations\All; use ApiOperations\Retrieve; diff --git a/lib/EphemeralKey.php b/lib/EphemeralKey.php index 63cb33460..4479ebe41 100644 --- a/lib/EphemeralKey.php +++ b/lib/EphemeralKey.php @@ -17,7 +17,7 @@ */ class EphemeralKey extends ApiResource { - const OBJECT_NAME = "ephemeral_key"; + const OBJECT_NAME = 'ephemeral_key'; use ApiOperations\Create { create as protected _create; diff --git a/lib/Event.php b/lib/Event.php index 26a301fdd..2d37155b2 100644 --- a/lib/Event.php +++ b/lib/Event.php @@ -20,7 +20,7 @@ */ class Event extends ApiResource { - const OBJECT_NAME = "event"; + const OBJECT_NAME = 'event'; use ApiOperations\All; use ApiOperations\Retrieve; diff --git a/lib/ExchangeRate.php b/lib/ExchangeRate.php index c5def7e01..1cbdbef07 100644 --- a/lib/ExchangeRate.php +++ b/lib/ExchangeRate.php @@ -13,7 +13,7 @@ */ class ExchangeRate extends ApiResource { - const OBJECT_NAME = "exchange_rate"; + const OBJECT_NAME = 'exchange_rate'; use ApiOperations\All; use ApiOperations\Retrieve; diff --git a/lib/File.php b/lib/File.php index a7daa8b9f..2fed775ef 100644 --- a/lib/File.php +++ b/lib/File.php @@ -24,7 +24,7 @@ class File extends ApiResource // versions, only `file` is used, but since stripe-php may be used with // any API version, we need to support deserializing the older // `file_upload` object into the same class. - const OBJECT_NAME = "file"; + const OBJECT_NAME = 'file'; const OBJECT_NAME_ALT = "file_upload"; use ApiOperations\All; diff --git a/lib/FileLink.php b/lib/FileLink.php index 5005d4ccc..e3386beb1 100644 --- a/lib/FileLink.php +++ b/lib/FileLink.php @@ -19,7 +19,7 @@ */ class FileLink extends ApiResource { - const OBJECT_NAME = "file_link"; + const OBJECT_NAME = 'file_link'; use ApiOperations\All; use ApiOperations\Create; diff --git a/lib/Invoice.php b/lib/Invoice.php index 00005c304..59b7749fa 100644 --- a/lib/Invoice.php +++ b/lib/Invoice.php @@ -69,7 +69,7 @@ */ class Invoice extends ApiResource { - const OBJECT_NAME = "invoice"; + const OBJECT_NAME = 'invoice'; use ApiOperations\All; use ApiOperations\Create; diff --git a/lib/InvoiceItem.php b/lib/InvoiceItem.php index 4e79e8846..567be13cb 100644 --- a/lib/InvoiceItem.php +++ b/lib/InvoiceItem.php @@ -30,7 +30,7 @@ */ class InvoiceItem extends ApiResource { - const OBJECT_NAME = "invoiceitem"; + const OBJECT_NAME = 'invoiceitem'; use ApiOperations\All; use ApiOperations\Create; diff --git a/lib/InvoiceLineItem.php b/lib/InvoiceLineItem.php index e8e8c881d..f73dfb425 100644 --- a/lib/InvoiceLineItem.php +++ b/lib/InvoiceLineItem.php @@ -28,5 +28,5 @@ */ class InvoiceLineItem extends ApiResource { - const OBJECT_NAME = "line_item"; + const OBJECT_NAME = 'line_item'; } diff --git a/lib/Issuing/Authorization.php b/lib/Issuing/Authorization.php index ea2787c36..b2694b272 100644 --- a/lib/Issuing/Authorization.php +++ b/lib/Issuing/Authorization.php @@ -32,7 +32,7 @@ */ class Authorization extends \Stripe\ApiResource { - const OBJECT_NAME = "issuing.authorization"; + const OBJECT_NAME = 'issuing.authorization'; use \Stripe\ApiOperations\All; use \Stripe\ApiOperations\Retrieve; diff --git a/lib/Issuing/Card.php b/lib/Issuing/Card.php index 463b61a0a..f157f70ed 100644 --- a/lib/Issuing/Card.php +++ b/lib/Issuing/Card.php @@ -29,7 +29,7 @@ */ class Card extends \Stripe\ApiResource { - const OBJECT_NAME = "issuing.card"; + const OBJECT_NAME = 'issuing.card'; use \Stripe\ApiOperations\All; use \Stripe\ApiOperations\Create; diff --git a/lib/Issuing/CardDetails.php b/lib/Issuing/CardDetails.php index 65d3919ca..349a1c21f 100644 --- a/lib/Issuing/CardDetails.php +++ b/lib/Issuing/CardDetails.php @@ -17,5 +17,5 @@ */ class CardDetails extends \Stripe\ApiResource { - const OBJECT_NAME = "issuing.card_details"; + const OBJECT_NAME = 'issuing.card_details'; } diff --git a/lib/Issuing/Cardholder.php b/lib/Issuing/Cardholder.php index 2ac0fe49d..ac514bc12 100644 --- a/lib/Issuing/Cardholder.php +++ b/lib/Issuing/Cardholder.php @@ -24,7 +24,7 @@ */ class Cardholder extends \Stripe\ApiResource { - const OBJECT_NAME = "issuing.cardholder"; + const OBJECT_NAME = 'issuing.cardholder'; use \Stripe\ApiOperations\All; use \Stripe\ApiOperations\Create; diff --git a/lib/Issuing/Dispute.php b/lib/Issuing/Dispute.php index a5958b7a1..8fb280dc7 100644 --- a/lib/Issuing/Dispute.php +++ b/lib/Issuing/Dispute.php @@ -21,7 +21,7 @@ */ class Dispute extends \Stripe\ApiResource { - const OBJECT_NAME = "issuing.dispute"; + const OBJECT_NAME = 'issuing.dispute'; use \Stripe\ApiOperations\All; use \Stripe\ApiOperations\Create; diff --git a/lib/Issuing/Transaction.php b/lib/Issuing/Transaction.php index 14b1e7b93..711a42201 100644 --- a/lib/Issuing/Transaction.php +++ b/lib/Issuing/Transaction.php @@ -26,7 +26,7 @@ */ class Transaction extends \Stripe\ApiResource { - const OBJECT_NAME = "issuing.transaction"; + const OBJECT_NAME = 'issuing.transaction'; use \Stripe\ApiOperations\All; use \Stripe\ApiOperations\Retrieve; diff --git a/lib/LoginLink.php b/lib/LoginLink.php index 9f677364b..010933c20 100644 --- a/lib/LoginLink.php +++ b/lib/LoginLink.php @@ -13,5 +13,5 @@ */ class LoginLink extends ApiResource { - const OBJECT_NAME = "login_link"; + const OBJECT_NAME = 'login_link'; } diff --git a/lib/Order.php b/lib/Order.php index 6de540890..ef284be1d 100644 --- a/lib/Order.php +++ b/lib/Order.php @@ -33,7 +33,7 @@ */ class Order extends ApiResource { - const OBJECT_NAME = "order"; + const OBJECT_NAME = 'order'; use ApiOperations\All; use ApiOperations\Create; diff --git a/lib/OrderItem.php b/lib/OrderItem.php index 6ef1242fc..6bdafc97e 100644 --- a/lib/OrderItem.php +++ b/lib/OrderItem.php @@ -17,5 +17,5 @@ */ class OrderItem extends StripeObject { - const OBJECT_NAME = "order_item"; + const OBJECT_NAME = 'order_item'; } diff --git a/lib/OrderReturn.php b/lib/OrderReturn.php index de69b3e45..8189f452b 100644 --- a/lib/OrderReturn.php +++ b/lib/OrderReturn.php @@ -19,7 +19,7 @@ */ class OrderReturn extends ApiResource { - const OBJECT_NAME = "order_return"; + const OBJECT_NAME = 'order_return'; use ApiOperations\All; use ApiOperations\Retrieve; diff --git a/lib/PaymentIntent.php b/lib/PaymentIntent.php index f71003e7a..4dd65f906 100644 --- a/lib/PaymentIntent.php +++ b/lib/PaymentIntent.php @@ -46,7 +46,7 @@ */ class PaymentIntent extends ApiResource { - const OBJECT_NAME = "payment_intent"; + const OBJECT_NAME = 'payment_intent'; use ApiOperations\All; use ApiOperations\Create; diff --git a/lib/PaymentMethod.php b/lib/PaymentMethod.php index 17f287bf4..3e875eec3 100644 --- a/lib/PaymentMethod.php +++ b/lib/PaymentMethod.php @@ -22,7 +22,7 @@ */ class PaymentMethod extends ApiResource { - const OBJECT_NAME = "payment_method"; + const OBJECT_NAME = 'payment_method'; use ApiOperations\All; use ApiOperations\Create; diff --git a/lib/Payout.php b/lib/Payout.php index 42eb18839..81a8958b6 100644 --- a/lib/Payout.php +++ b/lib/Payout.php @@ -30,7 +30,7 @@ */ class Payout extends ApiResource { - const OBJECT_NAME = "payout"; + const OBJECT_NAME = 'payout'; use ApiOperations\All; use ApiOperations\Create; diff --git a/lib/Person.php b/lib/Person.php index c100218b2..33a2af140 100644 --- a/lib/Person.php +++ b/lib/Person.php @@ -35,7 +35,7 @@ */ class Person extends ApiResource { - const OBJECT_NAME = "person"; + const OBJECT_NAME = 'person'; use ApiOperations\Delete; use ApiOperations\Update; diff --git a/lib/Plan.php b/lib/Plan.php index 6555d53b7..f6ac5653d 100644 --- a/lib/Plan.php +++ b/lib/Plan.php @@ -30,7 +30,7 @@ */ class Plan extends ApiResource { - const OBJECT_NAME = "plan"; + const OBJECT_NAME = 'plan'; use ApiOperations\All; use ApiOperations\Create; diff --git a/lib/Product.php b/lib/Product.php index 6fcbc6ee1..faf44dfa4 100644 --- a/lib/Product.php +++ b/lib/Product.php @@ -29,7 +29,7 @@ */ class Product extends ApiResource { - const OBJECT_NAME = "product"; + const OBJECT_NAME = 'product'; use ApiOperations\All; use ApiOperations\Create; diff --git a/lib/Radar/EarlyFraudWarning.php b/lib/Radar/EarlyFraudWarning.php index 5131e52fc..95daac29a 100644 --- a/lib/Radar/EarlyFraudWarning.php +++ b/lib/Radar/EarlyFraudWarning.php @@ -17,7 +17,7 @@ */ class EarlyFraudWarning extends \Stripe\ApiResource { - const OBJECT_NAME = "radar.early_fraud_warning"; + const OBJECT_NAME = 'radar.early_fraud_warning'; use \Stripe\ApiOperations\All; use \Stripe\ApiOperations\Retrieve; diff --git a/lib/Radar/ValueList.php b/lib/Radar/ValueList.php index 6f58b5f47..772370f48 100644 --- a/lib/Radar/ValueList.php +++ b/lib/Radar/ValueList.php @@ -20,7 +20,7 @@ */ class ValueList extends \Stripe\ApiResource { - const OBJECT_NAME = "radar.value_list"; + const OBJECT_NAME = 'radar.value_list'; use \Stripe\ApiOperations\All; use \Stripe\ApiOperations\Create; diff --git a/lib/Radar/ValueListItem.php b/lib/Radar/ValueListItem.php index 055070d0d..5a79b71c9 100644 --- a/lib/Radar/ValueListItem.php +++ b/lib/Radar/ValueListItem.php @@ -17,7 +17,7 @@ */ class ValueListItem extends \Stripe\ApiResource { - const OBJECT_NAME = "radar.value_list_item"; + const OBJECT_NAME = 'radar.value_list_item'; use \Stripe\ApiOperations\All; use \Stripe\ApiOperations\Create; diff --git a/lib/Recipient.php b/lib/Recipient.php index cc984510b..944791ac8 100644 --- a/lib/Recipient.php +++ b/lib/Recipient.php @@ -25,7 +25,7 @@ */ class Recipient extends ApiResource { - const OBJECT_NAME = "recipient"; + const OBJECT_NAME = 'recipient'; use ApiOperations\All; use ApiOperations\Create; diff --git a/lib/RecipientTransfer.php b/lib/RecipientTransfer.php index 7a2ec1f3f..c9ca46598 100644 --- a/lib/RecipientTransfer.php +++ b/lib/RecipientTransfer.php @@ -34,5 +34,5 @@ */ class RecipientTransfer extends ApiResource { - const OBJECT_NAME = "recipient_transfer"; + const OBJECT_NAME = 'recipient_transfer'; } diff --git a/lib/Refund.php b/lib/Refund.php index e88659103..078f8d4ae 100644 --- a/lib/Refund.php +++ b/lib/Refund.php @@ -26,7 +26,7 @@ */ class Refund extends ApiResource { - const OBJECT_NAME = "refund"; + const OBJECT_NAME = 'refund'; use ApiOperations\All; use ApiOperations\Create; diff --git a/lib/Reporting/ReportRun.php b/lib/Reporting/ReportRun.php index e20ec73e2..99c6db9ad 100644 --- a/lib/Reporting/ReportRun.php +++ b/lib/Reporting/ReportRun.php @@ -20,7 +20,7 @@ */ class ReportRun extends \Stripe\ApiResource { - const OBJECT_NAME = "reporting.report_run"; + const OBJECT_NAME = 'reporting.report_run'; use \Stripe\ApiOperations\All; use \Stripe\ApiOperations\Create; diff --git a/lib/Reporting/ReportType.php b/lib/Reporting/ReportType.php index 53f6b3804..e11fb2651 100644 --- a/lib/Reporting/ReportType.php +++ b/lib/Reporting/ReportType.php @@ -18,7 +18,7 @@ */ class ReportType extends \Stripe\ApiResource { - const OBJECT_NAME = "reporting.report_type"; + const OBJECT_NAME = 'reporting.report_type'; use \Stripe\ApiOperations\All; use \Stripe\ApiOperations\Retrieve; diff --git a/lib/Review.php b/lib/Review.php index a589cf54c..2a39c85c2 100644 --- a/lib/Review.php +++ b/lib/Review.php @@ -24,7 +24,7 @@ */ class Review extends ApiResource { - const OBJECT_NAME = "review"; + const OBJECT_NAME = 'review'; use ApiOperations\All; use ApiOperations\Retrieve; diff --git a/lib/SKU.php b/lib/SKU.php index fb26d5194..ccb5f125e 100644 --- a/lib/SKU.php +++ b/lib/SKU.php @@ -24,7 +24,7 @@ */ class SKU extends ApiResource { - const OBJECT_NAME = "sku"; + const OBJECT_NAME = 'sku'; use ApiOperations\All; use ApiOperations\Create; diff --git a/lib/SetupIntent.php b/lib/SetupIntent.php index 6dc8b8585..69b1c39ae 100644 --- a/lib/SetupIntent.php +++ b/lib/SetupIntent.php @@ -28,7 +28,7 @@ */ class SetupIntent extends ApiResource { - const OBJECT_NAME = "setup_intent"; + const OBJECT_NAME = 'setup_intent'; use ApiOperations\All; use ApiOperations\Create; diff --git a/lib/Sigma/ScheduledQueryRun.php b/lib/Sigma/ScheduledQueryRun.php index d732255c5..8f3f49b99 100644 --- a/lib/Sigma/ScheduledQueryRun.php +++ b/lib/Sigma/ScheduledQueryRun.php @@ -21,7 +21,7 @@ */ class ScheduledQueryRun extends \Stripe\ApiResource { - const OBJECT_NAME = "scheduled_query_run"; + const OBJECT_NAME = 'scheduled_query_run'; use \Stripe\ApiOperations\All; use \Stripe\ApiOperations\Retrieve; diff --git a/lib/Source.php b/lib/Source.php index cfc727a52..3a11f12c3 100644 --- a/lib/Source.php +++ b/lib/Source.php @@ -48,7 +48,7 @@ */ class Source extends ApiResource { - const OBJECT_NAME = "source"; + const OBJECT_NAME = 'source'; use ApiOperations\Create; use ApiOperations\Retrieve; diff --git a/lib/SourceTransaction.php b/lib/SourceTransaction.php index d004032c5..057a2092d 100644 --- a/lib/SourceTransaction.php +++ b/lib/SourceTransaction.php @@ -18,5 +18,5 @@ */ class SourceTransaction extends ApiResource { - const OBJECT_NAME = "source_transaction"; + const OBJECT_NAME = 'source_transaction'; } diff --git a/lib/Subscription.php b/lib/Subscription.php index 9232c8b37..2e33ced21 100644 --- a/lib/Subscription.php +++ b/lib/Subscription.php @@ -47,7 +47,7 @@ */ class Subscription extends ApiResource { - const OBJECT_NAME = "subscription"; + const OBJECT_NAME = 'subscription'; use ApiOperations\All; use ApiOperations\Create; diff --git a/lib/SubscriptionItem.php b/lib/SubscriptionItem.php index c2408f70b..30792f6f3 100644 --- a/lib/SubscriptionItem.php +++ b/lib/SubscriptionItem.php @@ -19,7 +19,7 @@ */ class SubscriptionItem extends ApiResource { - const OBJECT_NAME = "subscription_item"; + const OBJECT_NAME = 'subscription_item'; use ApiOperations\All; use ApiOperations\Create; diff --git a/lib/SubscriptionSchedule.php b/lib/SubscriptionSchedule.php index 0786a2a1a..307a05600 100644 --- a/lib/SubscriptionSchedule.php +++ b/lib/SubscriptionSchedule.php @@ -30,7 +30,7 @@ */ class SubscriptionSchedule extends ApiResource { - const OBJECT_NAME = "subscription_schedule"; + const OBJECT_NAME = 'subscription_schedule'; use ApiOperations\All; use ApiOperations\Create; diff --git a/lib/TaxId.php b/lib/TaxId.php index bd077ff94..c2329dba1 100644 --- a/lib/TaxId.php +++ b/lib/TaxId.php @@ -19,7 +19,7 @@ */ class TaxId extends ApiResource { - const OBJECT_NAME = "tax_id"; + const OBJECT_NAME = 'tax_id'; use ApiOperations\Delete; diff --git a/lib/TaxRate.php b/lib/TaxRate.php index 604c382f4..88096e23a 100644 --- a/lib/TaxRate.php +++ b/lib/TaxRate.php @@ -21,7 +21,7 @@ */ class TaxRate extends ApiResource { - const OBJECT_NAME = "tax_rate"; + const OBJECT_NAME = 'tax_rate'; use ApiOperations\All; use ApiOperations\Create; diff --git a/lib/Terminal/ConnectionToken.php b/lib/Terminal/ConnectionToken.php index b8cf91a9c..676dec689 100644 --- a/lib/Terminal/ConnectionToken.php +++ b/lib/Terminal/ConnectionToken.php @@ -13,7 +13,7 @@ */ class ConnectionToken extends \Stripe\ApiResource { - const OBJECT_NAME = "terminal.connection_token"; + const OBJECT_NAME = 'terminal.connection_token'; use \Stripe\ApiOperations\Create; } diff --git a/lib/Terminal/Location.php b/lib/Terminal/Location.php index 73f634b32..14a34fd56 100644 --- a/lib/Terminal/Location.php +++ b/lib/Terminal/Location.php @@ -14,7 +14,7 @@ */ class Location extends \Stripe\ApiResource { - const OBJECT_NAME = "terminal.location"; + const OBJECT_NAME = 'terminal.location'; use \Stripe\ApiOperations\All; use \Stripe\ApiOperations\Create; diff --git a/lib/Terminal/Reader.php b/lib/Terminal/Reader.php index 8f8068b40..d82578ada 100644 --- a/lib/Terminal/Reader.php +++ b/lib/Terminal/Reader.php @@ -19,7 +19,7 @@ */ class Reader extends \Stripe\ApiResource { - const OBJECT_NAME = "terminal.reader"; + const OBJECT_NAME = 'terminal.reader'; use \Stripe\ApiOperations\All; use \Stripe\ApiOperations\Create; diff --git a/lib/ThreeDSecure.php b/lib/ThreeDSecure.php index 735d0e64c..a5e8cc0c8 100644 --- a/lib/ThreeDSecure.php +++ b/lib/ThreeDSecure.php @@ -20,7 +20,7 @@ */ class ThreeDSecure extends ApiResource { - const OBJECT_NAME = "three_d_secure"; + const OBJECT_NAME = 'three_d_secure'; use ApiOperations\Create; use ApiOperations\Retrieve; diff --git a/lib/Token.php b/lib/Token.php index 50f190564..d608574b2 100644 --- a/lib/Token.php +++ b/lib/Token.php @@ -19,7 +19,7 @@ */ class Token extends ApiResource { - const OBJECT_NAME = "token"; + const OBJECT_NAME = 'token'; use ApiOperations\Create; use ApiOperations\Retrieve; diff --git a/lib/Topup.php b/lib/Topup.php index c1261d743..294446d9c 100644 --- a/lib/Topup.php +++ b/lib/Topup.php @@ -26,7 +26,7 @@ */ class Topup extends ApiResource { - const OBJECT_NAME = "topup"; + const OBJECT_NAME = 'topup'; use ApiOperations\All; use ApiOperations\Create; diff --git a/lib/Transfer.php b/lib/Transfer.php index 4abcf4b7c..1a44ee30d 100644 --- a/lib/Transfer.php +++ b/lib/Transfer.php @@ -27,7 +27,7 @@ */ class Transfer extends ApiResource { - const OBJECT_NAME = "transfer"; + const OBJECT_NAME = 'transfer'; use ApiOperations\All; use ApiOperations\Create; diff --git a/lib/TransferReversal.php b/lib/TransferReversal.php index 7f9d984c2..3a7712a7d 100644 --- a/lib/TransferReversal.php +++ b/lib/TransferReversal.php @@ -20,7 +20,7 @@ */ class TransferReversal extends ApiResource { - const OBJECT_NAME = "transfer_reversal"; + const OBJECT_NAME = 'transfer_reversal'; use ApiOperations\Update { save as protected _save; diff --git a/lib/UsageRecord.php b/lib/UsageRecord.php index 45dabb53f..9ac4c8d73 100644 --- a/lib/UsageRecord.php +++ b/lib/UsageRecord.php @@ -16,5 +16,5 @@ */ class UsageRecord extends ApiResource { - const OBJECT_NAME = "usage_record"; + const OBJECT_NAME = 'usage_record'; } diff --git a/lib/UsageRecordSummary.php b/lib/UsageRecordSummary.php index 9d3e7a396..1b6479cb4 100644 --- a/lib/UsageRecordSummary.php +++ b/lib/UsageRecordSummary.php @@ -17,5 +17,5 @@ */ class UsageRecordSummary extends ApiResource { - const OBJECT_NAME = "usage_record_summary"; + const OBJECT_NAME = 'usage_record_summary'; } diff --git a/lib/WebhookEndpoint.php b/lib/WebhookEndpoint.php index ea6cf4e5c..f83ef9453 100644 --- a/lib/WebhookEndpoint.php +++ b/lib/WebhookEndpoint.php @@ -20,7 +20,7 @@ */ class WebhookEndpoint extends ApiResource { - const OBJECT_NAME = "webhook_endpoint"; + const OBJECT_NAME = 'webhook_endpoint'; use ApiOperations\All; use ApiOperations\Create;