@@ -166,6 +166,9 @@ discard block |
||
| 166 | 166 | } |
| 167 | 167 | } |
| 168 | 168 | |
| 169 | + /** |
|
| 170 | + * @param integer $action |
|
| 171 | + */ |
|
| 169 | 172 | protected function limitHasNotYetEnded($action) |
| 170 | 173 | { |
| 171 | 174 | return $this->limit[$action]-- > 0; |
@@ -300,6 +303,9 @@ discard block |
||
| 300 | 303 | ], |
| 301 | 304 | ]; |
| 302 | 305 | |
| 306 | + /** |
|
| 307 | + * @param integer $action |
|
| 308 | + */ |
|
| 303 | 309 | protected function decodeResponse($action, $data) |
| 304 | 310 | { |
| 305 | 311 | if (!array_key_exists($action, $this->decodeSettings[static::DECODE_ACTION])) { |