Completed
Push — master ( 553806...856339 )
by Krishnaprasad
02:34
created
src/Throttle/Throttler/MovingWindowThrottler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
         $startTime = (int) ceil($this->timeProvider->now()) - $this->timeLimit;
107 107
 
108 108
         // Clear all entries older than the window front-edge
109
-        $relevantTimestamps = array_filter(array_keys($this->hitCountMapping), function ($key) use ($startTime) {
109
+        $relevantTimestamps = array_filter(array_keys($this->hitCountMapping), function($key) use ($startTime) {
110 110
             return $startTime <= $key;
111 111
         });
112 112
 
Please login to merge, or discard this patch.