Commit 410fd530 authored by Shakarim Sapa's avatar Shakarim Sapa

- UnisenderAPI's construct method has been updated

parent 0f9fb0ee
......@@ -39,8 +39,8 @@ class UnisenderAPI {
* @param null $Timeout
* @param bool $Compression
*/
function __construct($ApiKey = null, $Encoding = 'UTF8', $RetryCount = 4, $Timeout = null, $Compression = false) {
$this->ApiKey = ($ApiKey===null) ? '5p7mt1be5x6axqniwu937gqohj9k9hn7gbex1efo' : $ApiKey;
function __construct($ApiKey = '5p7mt1be5x6axqniwu937gqohj9k9hn7gbex1efo', $Encoding = 'UTF8', $RetryCount = 4, $Timeout = null, $Compression = false) {
$this->ApiKey = $ApiKey;
if (!empty($Encoding)) {
$this->Encoding = $Encoding;
......
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