@@ -247,6 +247,9 @@ |
||
| 247 | 247 | ], |
| 248 | 248 | ]; |
| 249 | 249 | |
| 250 | + /** |
|
| 251 | + * @param integer $action |
|
| 252 | + */ |
|
| 250 | 253 | protected function decodeResponse($action, $data) |
| 251 | 254 | { |
| 252 | 255 | if (!array_key_exists($action, $this->decodeSettings[static::DECODE_ACTION])) { |
@@ -115,6 +115,9 @@ discard block |
||
| 115 | 115 | } |
| 116 | 116 | } |
| 117 | 117 | |
| 118 | + /** |
|
| 119 | + * @param integer $param |
|
| 120 | + */ |
|
| 118 | 121 | public function setParamSpec($param, $value) |
| 119 | 122 | { |
| 120 | 123 | $this->paramsSpec[$param] = $value; |
@@ -137,6 +140,9 @@ discard block |
||
| 137 | 140 | return null; |
| 138 | 141 | } |
| 139 | 142 | |
| 143 | + /** |
|
| 144 | + * @param integer $action |
|
| 145 | + */ |
|
| 140 | 146 | protected function getParams($action) |
| 141 | 147 | { |
| 142 | 148 | if (empty($this->paramsSettings[$action])) { |
@@ -173,7 +179,7 @@ discard block |
||
| 173 | 179 | } |
| 174 | 180 | |
| 175 | 181 | /** |
| 176 | - * @param array $data |
|
| 182 | + * @param string $data |
|
| 177 | 183 | * |
| 178 | 184 | * @return string |
| 179 | 185 | */ |