Commit 44a9061e authored by Michael Iseard's avatar Michael Iseard
Browse files

Make $mode parameter nullable

parent 06e74695
......@@ -76,7 +76,7 @@ class MollieVendor implements VendorInterface {
/**
* 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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment