Completed
Pull Request — master (#81)
by
unknown
03:39
created
Util/PathLimitProcessor.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -58,6 +58,10 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
EventListener/RateLimitAnnotationListener.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -8,13 +8,11 @@
 block discarded – undo
8 8
 use Noxlogic\RateLimitBundle\Events\RateLimitEvents;
9 9
 use Noxlogic\RateLimitBundle\Service\RateLimitService;
10 10
 use Noxlogic\RateLimitBundle\Util\PathLimitProcessor;
11
-use Noxlogic\RateLimitBundle\Whitelisting\WhitelistInterface;
12 11
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
13 12
 use Symfony\Component\HttpFoundation\Request;
14 13
 use Symfony\Component\HttpFoundation\Response;
15 14
 use Symfony\Component\HttpKernel\Event\FilterControllerEvent;
16 15
 use Symfony\Component\HttpKernel\HttpKernelInterface;
17
-use Symfony\Component\Routing\Route;
18 16
 
19 17
 class RateLimitAnnotationListener extends BaseListener
20 18
 {
Please login to merge, or discard this patch.