Skip to content

Commit

Permalink
Merge pull request #27 from yoomoney/release/v2.1.1
Browse files Browse the repository at this point in the history
Release/2.1.1
  • Loading branch information
tonchik-tm authored May 24, 2021
2 parents 9044afb + 1563adf commit 99674b8
Show file tree
Hide file tree
Showing 257 changed files with 2,553 additions and 2,428 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### v2.1.1 от 24.05.2021
* Описание ошибки при превышении максимальной длины поля description
* Поправки в документации

### v2.1.0 от 21.04.2021
* Добавлены новые методы
* Изменены некоторые методы
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"email": "[email protected]"
}
],
"version": "2.1.0",
"version": "2.1.1",
"require": {
"php": ">=5.3.0",
"ext-curl": "*",
Expand Down
2 changes: 1 addition & 1 deletion docs/classes/JsonSerializable.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ public jsonSerialize() : mixed

---

This document was automatically generated from source code comments on 2021-04-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2021-05-24 using [phpDocumentor](http://www.phpdoc.org/)

© 2021 YooMoney
14 changes: 7 additions & 7 deletions docs/classes/YooKassa-Client-ApiClientInterface.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Interface ApiClientInterface
#### public call() : \YooKassa\Common\ResponseObject

```php
public call(string path, string method, array queryParams, string|null httpBody = null, array headers = array()) : \YooKassa\Common\ResponseObject
public call(string $path, string $method, array $queryParams, string|null $httpBody = null, array $headers = array()) : \YooKassa\Common\ResponseObject
```

**Summary**
Expand All @@ -57,7 +57,7 @@ public call(string path, string method, array queryParams, string|null httpB
#### public setLogger() : mixed

```php
public setLogger(\Psr\Log\LoggerInterface|null logger) : mixed
public setLogger(\Psr\Log\LoggerInterface|null $logger) : mixed
```

**Summary**
Expand Down Expand Up @@ -95,7 +95,7 @@ public getUserAgent() : \YooKassa\Client\UserAgent
#### public setShopId() : mixed

```php
public setShopId(string|int shopId) : mixed
public setShopId(string|int $shopId) : mixed
```

**Summary**
Expand All @@ -116,7 +116,7 @@ public setShopId(string|int shopId) : mixed
#### public setShopPassword() : mixed

```php
public setShopPassword(string shopPassword) : mixed
public setShopPassword(string $shopPassword) : mixed
```

**Summary**
Expand All @@ -137,7 +137,7 @@ public setShopPassword(string shopPassword) : mixed
#### public setBearerToken() : mixed

```php
public setBearerToken(string bearerToken) : mixed
public setBearerToken(string $bearerToken) : mixed
```

**Summary**
Expand All @@ -158,7 +158,7 @@ public setBearerToken(string bearerToken) : mixed
#### public setConfig() : mixed

```php
public setConfig(array config) : mixed
public setConfig(array $config) : mixed
```

**Summary**
Expand Down Expand Up @@ -192,6 +192,6 @@ public setConfig(array config) : mixed

---

This document was automatically generated from source code comments on 2021-04-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2021-05-24 using [phpDocumentor](http://www.phpdoc.org/)

© 2021 YooMoney
28 changes: 14 additions & 14 deletions docs/classes/YooKassa-Client-BaseClient.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ shopId магазина
#### public __construct() : mixed

```php
public __construct(\YooKassa\Client\ApiClientInterface|null apiClient = null, \YooKassa\Helpers\Config\ConfigurationLoaderInterface|null configLoader = null) : mixed
public __construct(\YooKassa\Client\ApiClientInterface|null $apiClient = null, \YooKassa\Helpers\Config\ConfigurationLoaderInterface|null $configLoader = null) : mixed
```

**Summary**
Expand Down Expand Up @@ -292,7 +292,7 @@ public getConfig() : array
#### public setApiClient() : $this

```php
public setApiClient(\YooKassa\Client\ApiClientInterface apiClient) : $this
public setApiClient(\YooKassa\Client\ApiClientInterface $apiClient) : $this
```

**Summary**
Expand All @@ -313,7 +313,7 @@ public setApiClient(\YooKassa\Client\ApiClientInterface apiClient) : $this
#### public setAuth() : $this

```php
public setAuth(string login, string password) : $this
public setAuth(string $login, string $password) : $this
```

**Summary**
Expand Down Expand Up @@ -342,7 +342,7 @@ $client->setAuth('xxxxxx', 'test_XXXXXXX');
#### public setAuthToken() : $this

```php
public setAuthToken(string token) : $this
public setAuthToken(string $token) : $this
```

**Summary**
Expand Down Expand Up @@ -370,7 +370,7 @@ $client->setAuthToken('token_XXXXXXX');
#### public setConfig() : mixed

```php
public setConfig(array config) : mixed
public setConfig(array $config) : mixed
```

**Summary**
Expand All @@ -391,7 +391,7 @@ public setConfig(array config) : mixed
#### public setLogger() : mixed

```php
public setLogger(null|callable|object|\Psr\Log\LoggerInterface value) : mixed
public setLogger(null|callable|object|\Psr\Log\LoggerInterface $value) : mixed
```

**Summary**
Expand All @@ -412,7 +412,7 @@ public setLogger(null|callable|object|\Psr\Log\LoggerInterface value) : mixed
#### public setMaxRequestAttempts() : $this

```php
public setMaxRequestAttempts(int attempts) : $this
public setMaxRequestAttempts(int $attempts) : $this
```

**Summary**
Expand All @@ -433,7 +433,7 @@ public setMaxRequestAttempts(int attempts) : $this
#### public setRetryTimeout() : $this

```php
public setRetryTimeout(int timeout) : $this
public setRetryTimeout(int $timeout) : $this
```

**Summary**
Expand All @@ -454,7 +454,7 @@ public setRetryTimeout(int timeout) : $this
#### protected decodeData() : array

```php
protected decodeData(\YooKassa\Common\ResponseObject response) : array
protected decodeData(\YooKassa\Common\ResponseObject $response) : array
```

**Summary**
Expand All @@ -475,7 +475,7 @@ protected decodeData(\YooKassa\Common\ResponseObject response) : array
#### protected delay() : mixed

```php
protected delay(\YooKassa\Common\ResponseObject response) : mixed
protected delay(\YooKassa\Common\ResponseObject $response) : mixed
```

**Summary**
Expand All @@ -496,7 +496,7 @@ protected delay(\YooKassa\Common\ResponseObject response) : mixed
#### protected encodeData() : string

```php
protected encodeData(array serializedData) : string
protected encodeData(array $serializedData) : string
```

**Summary**
Expand All @@ -521,7 +521,7 @@ protected encodeData(array serializedData) : string
#### protected execute() : mixed|\YooKassa\Common\ResponseObject

```php
protected execute(string path, string method, array queryParams, null httpBody = null, array headers = array()) : mixed|\YooKassa\Common\ResponseObject
protected execute(string $path, string $method, array $queryParams, null $httpBody = null, array $headers = array()) : mixed|\YooKassa\Common\ResponseObject
```

**Summary**
Expand Down Expand Up @@ -553,7 +553,7 @@ protected execute(string path, string method, array queryParams, null httpBo
#### protected handleError() : mixed

```php
protected handleError(\YooKassa\Common\ResponseObject response) : mixed
protected handleError(\YooKassa\Common\ResponseObject $response) : mixed
```

**Summary**
Expand Down Expand Up @@ -597,6 +597,6 @@ protected handleError(\YooKassa\Common\ResponseObject response) : mixed

---

This document was automatically generated from source code comments on 2021-04-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2021-05-24 using [phpDocumentor](http://www.phpdoc.org/)

© 2021 YooMoney
26 changes: 13 additions & 13 deletions docs/classes/YooKassa-Client-CurlClient.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ CurlClient constructor.
#### public call() : \YooKassa\Common\ResponseObject

```php
public call(string path, string method, array queryParams, string|null httpBody = null, array headers = array()) : \YooKassa\Common\ResponseObject
public call(string $path, string $method, array $queryParams, string|null $httpBody = null, array $headers = array()) : \YooKassa\Common\ResponseObject
```

**Summary**
Expand Down Expand Up @@ -229,7 +229,7 @@ public sendRequest() : array
#### public setBearerToken() : $this

```php
public setBearerToken(string bearerToken) : $this
public setBearerToken(string $bearerToken) : $this
```

**Summary**
Expand All @@ -250,7 +250,7 @@ public setBearerToken(string bearerToken) : $this
#### public setBody() : mixed

```php
public setBody(string method, string httpBody) : mixed
public setBody(string $method, string $httpBody) : mixed
```

**Summary**
Expand All @@ -272,7 +272,7 @@ public setBody(string method, string httpBody) : mixed
#### public setConfig() : mixed

```php
public setConfig(array config) : mixed
public setConfig(array $config) : mixed
```

**Summary**
Expand All @@ -293,7 +293,7 @@ public setConfig(array config) : mixed
#### public setConnectionTimeout() : mixed

```php
public setConnectionTimeout(int connectionTimeout) : mixed
public setConnectionTimeout(int $connectionTimeout) : mixed
```

**Summary**
Expand All @@ -314,7 +314,7 @@ public setConnectionTimeout(int connectionTimeout) : mixed
#### public setCurlOption() : bool

```php
public setCurlOption(string optionName, mixed optionValue) : bool
public setCurlOption(string $optionName, mixed $optionValue) : bool
```

**Summary**
Expand All @@ -336,7 +336,7 @@ public setCurlOption(string optionName, mixed optionValue) : bool
#### public setKeepAlive() : $this

```php
public setKeepAlive(bool keepAlive) : $this
public setKeepAlive(bool $keepAlive) : $this
```

**Summary**
Expand All @@ -357,7 +357,7 @@ public setKeepAlive(bool keepAlive) : $this
#### public setLogger() : mixed

```php
public setLogger(\Psr\Log\LoggerInterface|null logger) : mixed
public setLogger(\Psr\Log\LoggerInterface|null $logger) : mixed
```

**Summary**
Expand All @@ -378,7 +378,7 @@ public setLogger(\Psr\Log\LoggerInterface|null logger) : mixed
#### public setProxy() : mixed

```php
public setProxy(string proxy) : mixed
public setProxy(string $proxy) : mixed
```

**Summary**
Expand All @@ -403,7 +403,7 @@ public setProxy(string proxy) : mixed
#### public setShopId() : $this

```php
public setShopId(mixed shopId) : $this
public setShopId(mixed $shopId) : $this
```

**Summary**
Expand All @@ -424,7 +424,7 @@ public setShopId(mixed shopId) : $this
#### public setShopPassword() : $this

```php
public setShopPassword(mixed shopPassword) : $this
public setShopPassword(mixed $shopPassword) : $this
```

**Summary**
Expand All @@ -445,7 +445,7 @@ public setShopPassword(mixed shopPassword) : $this
#### public setTimeout() : mixed

```php
public setTimeout(int timeout) : mixed
public setTimeout(int $timeout) : mixed
```

**Summary**
Expand Down Expand Up @@ -478,6 +478,6 @@ public setTimeout(int timeout) : mixed

---

This document was automatically generated from source code comments on 2021-04-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2021-05-24 using [phpDocumentor](http://www.phpdoc.org/)

© 2021 YooMoney
10 changes: 5 additions & 5 deletions docs/classes/YooKassa-Client-UserAgent.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public __construct() : mixed
#### public createVersion() : string

```php
public createVersion(string name, string version) : string
public createVersion(string $name, string $version) : string
```

**Summary**
Expand Down Expand Up @@ -230,7 +230,7 @@ public getSdk() : string
#### public setCms() : mixed

```php
public setCms(string name, string version) : mixed
public setCms(string $name, string $version) : mixed
```

**Summary**
Expand All @@ -252,7 +252,7 @@ public setCms(string name, string version) : mixed
#### public setFramework() : mixed

```php
public setFramework(string name, string version) : mixed
public setFramework(string $name, string $version) : mixed
```

**Summary**
Expand All @@ -274,7 +274,7 @@ public setFramework(string name, string version) : mixed
#### public setModule() : mixed

```php
public setModule(string name, string version) : mixed
public setModule(string $name, string $version) : mixed
```

**Summary**
Expand Down Expand Up @@ -308,6 +308,6 @@ public setModule(string name, string version) : mixed

---

This document was automatically generated from source code comments on 2021-04-21 using [phpDocumentor](http://www.phpdoc.org/)
This document was automatically generated from source code comments on 2021-05-24 using [phpDocumentor](http://www.phpdoc.org/)

© 2021 YooMoney
Loading

0 comments on commit 99674b8

Please sign in to comment.