@@ -127,7 +127,7 @@ |
||
| 127 | 127 | $message = $alias; |
| 128 | 128 | $code = 0; |
| 129 | 129 | } else { |
| 130 | - $message = $this->errorsMessages[ $code ][ $lang ]; |
|
| 130 | + $message = $this->errorsMessages[$code][$lang]; |
|
| 131 | 131 | } |
| 132 | 132 | if ($additionalText) { |
| 133 | 133 | $message .= ": $additionalText"; |
@@ -57,8 +57,8 @@ |
||
| 57 | 57 | sleep($this->requestTimeout); |
| 58 | 58 | } else { |
| 59 | 59 | $ex = explode('|', $result); |
| 60 | - if (trim($ex[ 0 ]) == 'OK') { |
|
| 61 | - $this->result = trim($ex[ 1 ]); |
|
| 60 | + if (trim($ex[0]) == 'OK') { |
|
| 61 | + $this->result = trim($ex[1]); |
|
| 62 | 62 | |
| 63 | 63 | return true; |
| 64 | 64 | } |
@@ -57,8 +57,8 @@ |
||
| 57 | 57 | sleep($this->requestTimeout); |
| 58 | 58 | } else { |
| 59 | 59 | $ex = explode('|', $result); |
| 60 | - if (trim($ex[ 0 ]) == 'OK') { |
|
| 61 | - $this->result = trim($ex[ 1 ]); |
|
| 60 | + if (trim($ex[0]) == 'OK') { |
|
| 61 | + $this->result = trim($ex[1]); |
|
| 62 | 62 | |
| 63 | 63 | return true; |
| 64 | 64 | } |