File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11<?php
22
3- namespace Phaseolies \Cache \ RateLimiting ;
3+ namespace Phaseolies \Cache ;
44
55class RateLimit
66{
Original file line number Diff line number Diff line change 33namespace Phaseolies \Cache ;
44
55use Psr \SimpleCache \CacheInterface ;
6- use Phaseolies \Cache \RateLimiting \ RateLimit ;
6+ use Phaseolies \Cache \RateLimit ;
77use Psr \SimpleCache \InvalidArgumentException ;
88
99class RateLimiter
@@ -32,7 +32,7 @@ public function __construct(CacheInterface $cache)
3232 * @param string $key
3333 * @param int $maxAttempts
3434 * @param int $decaySeconds
35- * @return \Phaseolies\Cache\RateLimiting\ RateLimit
35+ * @return \Phaseolies\Cache\RateLimit
3636 * @throws InvalidArgumentException
3737 */
3838 public function attempt (string $ key , int $ maxAttempts , int $ decaySeconds ): RateLimit
You can’t perform that action at this time.
0 commit comments