| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 49 | public function verify($ticket, $randStr, $userIP, array $options = []) |
||
| 50 | { |
||
| 51 | $params = array_merge([ |
||
| 52 | 'CaptchaType' => 9, |
||
| 53 | 'Ticket' => $ticket, |
||
| 54 | 'UserIp' => $userIP, |
||
| 55 | 'Randstr' => $randStr, |
||
| 56 | 'CaptchaAppId' => $this->aid, |
||
| 57 | 'AppSecretKey' => $this->appSecretKey, |
||
| 58 | ], $options); |
||
| 59 | |||
| 60 | return $this->request( |
||
| 61 | $params, 'DescribeCaptchaResult', 'captcha', '2019-07-22' |
||
| 62 | ); |
||
| 65 |