Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michael Iseard
Kudos-Donations
Commits
44a9061e
Commit
44a9061e
authored
Oct 15, 2021
by
Michael Iseard
Browse files
Make $mode parameter nullable
parent
06e74695
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Service/Vendor/MollieVendor.php
View file @
44a9061e
...
@@ -76,7 +76,7 @@ class MollieVendor implements VendorInterface {
...
@@ -76,7 +76,7 @@ class MollieVendor implements VendorInterface {
/**
/**
* Change the API client to the key for the specified mode.
* Change the API client to the key for the specified mode.
*/
*/
private
function
set_api_mode
(
string
$mode
)
{
private
function
set_api_mode
(
?
string
$mode
)
{
$key
=
$this
->
api_keys
[
$mode
]
??
false
;
$key
=
$this
->
api_keys
[
$mode
]
??
false
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment