@@ -45,8 +45,8 @@ |
||
45 | 45 | sleep($this->requestTimeout); |
46 | 46 | } else { |
47 | 47 | $ex = explode('|', $result); |
48 | - if (trim($ex[ 0 ]) == 'OK') { |
|
49 | - $this->result = trim($ex[ 1 ]); |
|
48 | + if (trim($ex[0]) == 'OK') { |
|
49 | + $this->result = trim($ex[1]); |
|
50 | 50 | |
51 | 51 | return true; |
52 | 52 | } |
@@ -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 | } |