Skip to content

Commit 6b4932f

Browse files
authored
Merge pull request #14 from vincentkosciuszko/master
Fix a typo and add a missing return statement
2 parents 140bcf1 + 2d215a2 commit 6b4932f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/LoginRateLimiter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ public function increment(Request $request)
4949
}
5050

5151
/**
52-
* Determine the numebr of seconds until logging in is available again.
52+
* Determine the number of seconds until logging in is available again.
5353
*
5454
* @param \Illuminate\Http\Request $request
5555
* @return int
5656
*/
5757
public function availableIn(Request $request)
5858
{
59-
$this->limiter->availableIn($this->throttleKey($request));
59+
return $this->limiter->availableIn($this->throttleKey($request));
6060
}
6161

6262
/**

0 commit comments

Comments
 (0)