We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8acaab2 commit 6ae5a73Copy full SHA for 6ae5a73
class-gf-paystack-api.php
@@ -12,8 +12,8 @@ class GFPaystackApi
12
public function __construct($config)
13
{
14
$this->plugin_name = 'Paystack Addon for Gravity Forms';
15
- $this->secret_key = isset($config->secret_key) ? $config->secret_key : '';
16
- $this->public_key = isset($config->public_key) ? $config->public_key : '';
+ $this->secret_key = $config->secret_key ?? '';
+ $this->public_key = $config->public_key ?? '';
17
}
18
19
/**
0 commit comments