File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1919
2020$ bouncer = $ bounce ->init ($ crowdSecStandaloneBouncerConfig );
2121$ bouncer ->refreshBlocklistCache ();
22- echo 'Cache has been refreshed ' ;
22+ echo 'Cache has been refreshed ' . PHP_EOL ;
Original file line number Diff line number Diff line change @@ -503,6 +503,7 @@ private function removeRemediations(array $decisions): array
503503 'decision ' => $ decision ['id ' ],
504504 'value ' => $ decision ['value ' ],
505505 ]);
506+ ++$ count ;
506507 }
507508 } elseif (Constants::SCOPE_RANGE === $ decision ['scope ' ]) {
508509 $ range = Subnet::parseString ($ decision ['value ' ]);
@@ -559,6 +560,7 @@ private function removeRemediations(array $decisions): array
559560 'decision ' => $ decision ['id ' ],
560561 'value ' => $ decision ['value ' ],
561562 ]);
563+ ++$ count ;
562564 }
563565 }
564566 }
You can’t perform that action at this time.
0 commit comments