We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 1 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 8 | class ThrottlePasswordRecovery extends ThrottleRequests |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Return a validation exception with a nice message to the user instead of the big fat app error. |
||
| 12 | * |
||
| 13 | * @param \Illuminate\Http\Request $request |
||
| 14 | * @param string $key |
||
| 15 | * @param int $maxAttempts |
||
| 16 | * @param callable|null $responseCallback |
||
| 17 | * @return \Illuminate\Validation\ValidationException |
||
| 18 | */ |
||
| 19 | protected function buildException($request, $key, $maxAttempts, $responseCallback = null) |
||
| 26 | } |