@@ -126,7 +126,7 @@ |
||
| 126 | 126 | if (is_null($code)) { |
| 127 | 127 | $message = $alias; |
| 128 | 128 | $code = 0; |
| 129 | - }else { |
|
| 129 | + } else { |
|
| 130 | 130 | $message = $this->errorsMessages[$code][$lang]; |
| 131 | 131 | } |
| 132 | 132 | if ($additionalText) { |
@@ -112,8 +112,9 @@ |
||
| 112 | 112 | ]; |
| 113 | 113 | switch ($this->responseType) { |
| 114 | 114 | case self::RESPONSE_TYPE_STRING: |
| 115 | - if ($type) |
|
| 116 | - $array = explode('|', $this->responseType); |
|
| 115 | + if ($type) { |
|
| 116 | + $array = explode('|', $this->responseType); |
|
| 117 | + } |
|
| 117 | 118 | |
| 118 | 119 | break; |
| 119 | 120 | } |