@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | */ |
| 18 | 18 | class Request |
| 19 | 19 | { |
| 20 | - const ERROR_UPDATE_TOKEN = ['-240', 'RESULT_TOKEN_ERROR_EXPIRED']; |
|
| 20 | + const ERROR_UPDATE_TOKEN = [ '-240', 'RESULT_TOKEN_ERROR_EXPIRED' ]; |
|
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | 23 | * @var Client |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | } |
| 104 | 104 | |
| 105 | 105 | if (!empty($responseDecode->error)) { |
| 106 | - if ([$responseDecode->code, $responseDecode->error] == self::ERROR_UPDATE_TOKEN) { |
|
| 106 | + if ([ $responseDecode->code, $responseDecode->error ] == self::ERROR_UPDATE_TOKEN) { |
|
| 107 | 107 | throw new UpdateTokenException(); |
| 108 | 108 | } |
| 109 | 109 | |