Passed
Push — main ( eedc41...6bf408 )
by Greg
11:30 queued 03:51
created
app/Http/Middleware/BadBotBlocker.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
             }
254 254
         }
255 255
 
256
-        $validated_bot =  false;
256
+        $validated_bot = false;
257 257
 
258 258
         foreach (self::ROBOT_REV_FWD_DNS as $robot => $valid_domains) {
259 259
             if (str_contains($ua, $robot)) {
@@ -379,7 +379,7 @@  discard block
 block discarded – undo
379 379
     {
380 380
         return Registry::cache()->file()->remember('whois-asn-' . $asn, function () use ($asn): array {
381 381
             $ranges = $this->network_service->findIpRangesForAsn($asn);
382
-            $mapper = static fn (string $range): RangeInterface|null => Factory::parseRangeString($range);
382
+            $mapper = static fn (string $range): RangeInterface | null => Factory::parseRangeString($range);
383 383
             $ranges = array_map($mapper, $ranges);
384 384
 
385 385
             return array_filter($ranges);
Please login to merge, or discard this patch.