|
@@ -161,7 +161,7 @@ discard block |
|
|
block discarded – undo |
|
161
|
161
|
|
|
162
|
162
|
protected $limit = []; |
|
163
|
163
|
|
|
164
|
|
- protected function clearLimit(){ |
|
|
164
|
+ protected function clearLimit() { |
|
165
|
165
|
foreach ($this->limitSettings as $action => $value) { |
|
166
|
166
|
$this->limit[$action] = $value; |
|
167
|
167
|
} |
|
@@ -283,8 +283,7 @@ discard block |
|
|
block discarded – undo |
|
283
|
283
|
} |
|
284
|
284
|
$decodeSetting = $this->decodeSettings[static::DECODE_ACTION][$action]; |
|
285
|
285
|
$decodeFormat = array_key_exists(static::DECODE_FORMAT, $decodeSetting) ? |
|
286
|
|
- $decodeSetting[static::DECODE_FORMAT] : |
|
287
|
|
- $this->decodeSettings[static::DECODE_FORMAT]; |
|
|
286
|
+ $decodeSetting[static::DECODE_FORMAT] : $this->decodeSettings[static::DECODE_FORMAT]; |
|
288
|
287
|
$values = []; |
|
289
|
288
|
switch ($decodeFormat) { |
|
290
|
289
|
case static::RESPONSE_TYPE_STRING: |
Please login to merge, or discard this patch.