@@ -115,6 +115,10 @@ discard block |
||
115 | 115 | } |
116 | 116 | } |
117 | 117 | |
118 | + /** |
|
119 | + * @param integer $param |
|
120 | + * @param string $value |
|
121 | + */ |
|
118 | 122 | public function setParamSpec($param, $value) |
119 | 123 | { |
120 | 124 | $this->paramsSpec[$param] = $value; |
@@ -137,6 +141,9 @@ discard block |
||
137 | 141 | return null; |
138 | 142 | } |
139 | 143 | |
144 | + /** |
|
145 | + * @param integer $action |
|
146 | + */ |
|
140 | 147 | protected function getParams($action) |
141 | 148 | { |
142 | 149 | if (empty($this->paramsSettings[$action])) { |
@@ -173,7 +180,7 @@ discard block |
||
173 | 180 | } |
174 | 181 | |
175 | 182 | /** |
176 | - * @param array $data |
|
183 | + * @param string $data |
|
177 | 184 | * |
178 | 185 | * @return string |
179 | 186 | */ |
@@ -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])) { |