@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | * |
| 32 | 32 | * @param string $key |
| 33 | 33 | * @param int $maxAttempts |
| 34 | - * @param float|int $decayMinutes |
|
| 34 | + * @param integer $decayMinutes |
|
| 35 | 35 | * |
| 36 | 36 | * @return bool |
| 37 | 37 | */ |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | * Increment the counter for a given key for a given decay time. |
| 72 | 72 | * |
| 73 | 73 | * @param string $key |
| 74 | - * @param float|int $decayMinutes |
|
| 74 | + * @param integer $decayMinutes |
|
| 75 | 75 | * |
| 76 | 76 | * @return int |
| 77 | 77 | */ |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | * |
| 100 | 100 | * @param string $key |
| 101 | 101 | * |
| 102 | - * @return mixed |
|
| 102 | + * @return boolean |
|
| 103 | 103 | */ |
| 104 | 104 | public function resetAttempts($key) |
| 105 | 105 | { |
@@ -35,9 +35,9 @@ |
||
| 35 | 35 | * @param \Illuminate\Http\Request $request |
| 36 | 36 | * @param \Closure $next |
| 37 | 37 | * @param int $maxAttempts |
| 38 | - * @param float|int $decayMinutes |
|
| 38 | + * @param integer $decayMinutes |
|
| 39 | 39 | * |
| 40 | - * @return mixed |
|
| 40 | + * @return Response |
|
| 41 | 41 | */ |
| 42 | 42 | public function handle($request, Closure $next, $maxAttempts = 60, $decayMinutes = 1) |
| 43 | 43 | { |