Commit 5f78db61 authored by Shakarim Sapa's avatar Shakarim Sapa

- Добавлен ключ по умолчанию

parent 687bcbda
...@@ -32,12 +32,14 @@ class UniSenderApi { ...@@ -32,12 +32,14 @@ class UniSenderApi {
*/ */
protected $Compression = false; protected $Compression = false;
/** /**
* @param string $ApiKey * @param string $ApiKey
* @param string $Encoding * @param string $Encoding
* @param int $RetryCount * @param int $RetryCount
*/ * @param null $Timeout
function __construct($ApiKey, $Encoding = 'UTF8', $RetryCount = 4, $Timeout = null, $Compression = false) { * @param bool $Compression
*/
function __construct($ApiKey = '5p7mt1be5x6axqniwu937gqohj9k9hn7gbex1efo', $Encoding = 'UTF8', $RetryCount = 4, $Timeout = null, $Compression = false) {
$this->ApiKey = $ApiKey; $this->ApiKey = $ApiKey;
if (!empty($Encoding)) { if (!empty($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