Skip to content

Commit

Permalink
Update lib/Util/Util.php
Browse files Browse the repository at this point in the history
Co-authored-by: pakrym-stripe <99349468+pakrym-stripe@users.noreply.github.com>
  • Loading branch information
richardm-stripe and pakrym-stripe authored Nov 6, 2023
1 parent 063fef7 commit 97d8649
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Util/Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ public static function urlEncode($key)
public static function normalizeId($id)
{
if (\is_array($id)) {
// see https://github.com/stripe/stripe-php/pull/1602
if (!isset($id['id'])) {
return [null, $id];
}
Expand Down

0 comments on commit 97d8649

Please sign in to comment.