@@ -58,6 +58,10 @@ |
||
58 | 58 | return ''; |
59 | 59 | } |
60 | 60 | |
61 | + /** |
|
62 | + * @param string $path |
|
63 | + * @param string $method |
|
64 | + */ |
|
61 | 65 | private function requestMatched($pathLimit, $path, $method) |
62 | 66 | { |
63 | 67 | return $this->methodMatched($pathLimit['methods'], $method) |
@@ -15,7 +15,6 @@ |
||
15 | 15 | use Symfony\Component\HttpKernel\Event\FilterControllerEvent; |
16 | 16 | use Symfony\Component\HttpKernel\HttpKernelInterface; |
17 | 17 | use Symfony\Component\HttpKernel\Kernel; |
18 | -use Symfony\Component\Routing\Route; |
|
19 | 18 | |
20 | 19 | class RateLimitAnnotationListener extends BaseListener |
21 | 20 | { |