| Conditions | 4 |
| Paths | 5 |
| Total Lines | 18 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 48 | public function captchaResponse(): bool |
||
| 49 | { |
||
| 50 | foreach ($this->captcha as $captcha) { |
||
| 51 | |||
| 52 | if (!$captcha->response()) { |
||
| 53 | return false; |
||
| 54 | } |
||
| 55 | } |
||
| 56 | |||
| 57 | /** |
||
| 58 | * $sessionLimit @ SessionTrait |
||
| 59 | * sessionHandler() @ SessionTrait |
||
| 60 | */ |
||
| 61 | if (!empty($this->sessionLimit['count'])) { |
||
| 62 | $this->result = $this->sessionHandler(self::RESPONSE_ALLOW); |
||
| 63 | } |
||
| 64 | |||
| 65 | return true; |
||
| 66 | } |
||
| 68 |