Passed
Push — main ( 9ed332...326dd2 )
by Greg
07:09
created
app/Services/RateLimitService.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
         $timestamps = array_filter(explode(',', $history));
107 107
 
108 108
         // Filter events within our time window.
109
-        $filter    = fn (string $x): bool => (int) $x >= $this->now - $seconds && (int) $x <= $this->now;
109
+        $filter    = fn(string $x): bool => (int) $x >= $this->now - $seconds && (int) $x <= $this->now;
110 110
         $in_window = array_filter($timestamps, $filter);
111 111
 
112 112
         if (count($in_window) >= $num) {
Please login to merge, or discard this patch.