@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | * @param int $maxAttempts |
34 | 34 | * @param int $decayMinutes |
35 | 35 | * |
36 | - * @return mixed |
|
36 | + * @return Response |
|
37 | 37 | */ |
38 | 38 | public function handle($request, Closure $next, $maxAttempts = 60, $decayMinutes = 1) |
39 | 39 | { |
@@ -68,8 +68,8 @@ discard block |
||
68 | 68 | /** |
69 | 69 | * Create a 'too many attempts' response. |
70 | 70 | * |
71 | - * @param $key |
|
72 | - * @param $maxAttempts |
|
71 | + * @param string $key |
|
72 | + * @param integer $maxAttempts |
|
73 | 73 | * |
74 | 74 | * @return \Symfony\Component\HttpFoundation\Response |
75 | 75 | */ |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use iBrand\Sms\Storage\CacheStorage; |
15 | 15 | use Illuminate\Support\Facades\Route; |
16 | 16 | use Overtrue\EasySms\EasySms; |
17 | -use iBrand\Sms\Http\Middleware\ThrottleRequests; |
|
18 | 17 | |
19 | 18 | /** |
20 | 19 | * Class ServiceProvider. |
@@ -49,7 +49,7 @@ |
||
49 | 49 | } |
50 | 50 | |
51 | 51 | /** |
52 | - * @return mixed |
|
52 | + * @return string |
|
53 | 53 | */ |
54 | 54 | public function getKey() |
55 | 55 | { |