From 75160b12821f7f4299cce7f0b69c83c1502ae071 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Mon, 27 May 2024 13:08:29 +0200 Subject: 2024-02-19 upstream --- vendor/stripe/stripe-php/lib/ApiOperations/All.php | 74 +++++++++++----------- 1 file changed, 37 insertions(+), 37 deletions(-) (limited to 'vendor/stripe/stripe-php/lib/ApiOperations/All.php') diff --git a/vendor/stripe/stripe-php/lib/ApiOperations/All.php b/vendor/stripe/stripe-php/lib/ApiOperations/All.php index ff2955d..e8884d2 100644 --- a/vendor/stripe/stripe-php/lib/ApiOperations/All.php +++ b/vendor/stripe/stripe-php/lib/ApiOperations/All.php @@ -1,37 +1,37 @@ -json, $opts); - if (!($obj instanceof \Stripe\Collection)) { - throw new \Stripe\Exception\UnexpectedValueException( - 'Expected type ' . \Stripe\Collection::class . ', got "' . \get_class($obj) . '" instead.' - ); - } - $obj->setLastResponse($response); - $obj->setFilters($params); - - return $obj; - } -} +json, $opts); + if (!($obj instanceof \Stripe\Collection)) { + throw new \Stripe\Exception\UnexpectedValueException( + 'Expected type ' . \Stripe\Collection::class . ', got "' . \get_class($obj) . '" instead.' + ); + } + $obj->setLastResponse($response); + $obj->setFilters($params); + + return $obj; + } +} -- cgit v1.2.3