Completed
Push — master ( d0572a...56be9e )
by Pásztor
03:28 queued 01:34
created
classes/RateLimiter.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
http/middleware/ThrottleRequests.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,9 +35,9 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.