Skip to content
This repository has been archived by the owner on Mar 1, 2021. It is now read-only.

Commit

Permalink
Исправлен тип ответа в DocBlock метода call
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaly Baev committed Feb 7, 2017
1 parent 0ee07e0 commit bcc4d67
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class Client
*
* @param string $clientId
* @param string $senderId
* @param string $apiVersion
* @param array $methodKeys
*/
function __construct($clientId, $senderId, $apiVersion = '1.0', $methodKeys = [])
Expand Down Expand Up @@ -103,11 +104,13 @@ public function setClientId($clientId)
}

/**
* Выполняет запрос к API
* Выполняет запрос к API.
*
* @param string $method
* @param string $parameters
* @return array
* @param array $parameters
*
* @return object
*
* @throws Exception\InvalidJsonException
* @throws Exception\MethodKeysNotExistsException
*/
Expand Down Expand Up @@ -141,6 +144,13 @@ public function call($method, $parameters)
return $json;
}

/**
* Возвращает строку для получения секретного ключа.
*
* @param $data
*
* @return string
*/
private function getPostValues($data)
{
if (!is_array($data)) {
Expand Down

0 comments on commit bcc4d67

Please sign in to comment.