Completed
Pull Request — master (#70)
by
unknown
36:03
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   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
Service/Storage/DoctrineCache.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -86,6 +86,9 @@
 block discarded – undo
86 86
         return true;
87 87
     }
88 88
 
89
+    /**
90
+     * @param string $key
91
+     */
89 92
     private function createRateInfo($key, array $info)
90 93
     {
91 94
         $rateLimitInfo = new RateLimitInfo();
Please login to merge, or discard this patch.
Service/Storage/Memcache.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -84,6 +84,9 @@
 block discarded – undo
84 84
         return true;
85 85
     }
86 86
 
87
+    /**
88
+     * @param string $key
89
+     */
87 90
     private function createRateInfo($key, array $info)
88 91
     {
89 92
         $rateLimitInfo = new RateLimitInfo();
Please login to merge, or discard this patch.
Service/Storage/PsrCache.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -70,6 +70,9 @@
 block discarded – undo
70 70
         return true;
71 71
     }
72 72
 
73
+    /**
74
+     * @param string $key
75
+     */
73 76
     private function createRateInfo($key, array $info)
74 77
     {
75 78
         $rateLimitInfo = new RateLimitInfo();
Please login to merge, or discard this patch.
Service/Storage/SimpleCache.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -62,6 +62,9 @@
 block discarded – undo
62 62
         return true;
63 63
     }
64 64
 
65
+    /**
66
+     * @param string $key
67
+     */
65 68
     private function createRateInfo($key, array $info)
66 69
     {
67 70
         $rateLimitInfo = new RateLimitInfo();
Please login to merge, or discard this patch.