Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update RequestOptions#redactedApiKey to stop exploding null. #1289

Merged
merged 2 commits into from
May 23, 2022

Conversation

dcr-stripe
Copy link
Contributor

r? @kamil-stripe

Summary

Updates RequestOptions#redactedApiKey to handle the null case properly, otherwise this shows a warning in PHP 8.1 as passing null to explode is deprecated.

Motivation

#1237

@dcr-stripe dcr-stripe requested a review from kamil-stripe May 20, 2022 21:34
lib/Util/RequestOptions.php Show resolved Hide resolved
@stripe-ci stripe-ci assigned dcr-stripe and unassigned kamil-stripe May 20, 2022
@dcr-stripe dcr-stripe merged commit 3a95278 into master May 23, 2022
@dcr-stripe dcr-stripe deleted the dcr-fix-warning branch May 23, 2022 13:58
sstuecher24 pushed a commit to cutlery42/stripe-php that referenced this pull request Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants