@@ -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) |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | use Symfony\Component\HttpFoundation\Response; |
| 13 | 13 | use Symfony\Component\HttpKernel\Event\FilterControllerEvent; |
| 14 | 14 | use Symfony\Component\HttpKernel\HttpKernelInterface; |
| 15 | -use Symfony\Component\Routing\Route; |
|
| 16 | 15 | |
| 17 | 16 | class RateLimitAnnotationListener extends BaseListener |
| 18 | 17 | { |