diff --git a/benchmarks/FrequencyRandomBench.php b/benchmarks/FrequencyRandomBench.php index b38e46b..e0d37c7 100644 --- a/benchmarks/FrequencyRandomBench.php +++ b/benchmarks/FrequencyRandomBench.php @@ -25,7 +25,7 @@ public function __construct() ]); $this->throttler = new Throttler( - new FrequencyRandomStrategy() + new FrequencyRandomStrategy(), ); } diff --git a/benchmarks/RandomBench.php b/benchmarks/RandomBench.php index 8516856..4530aeb 100644 --- a/benchmarks/RandomBench.php +++ b/benchmarks/RandomBench.php @@ -25,7 +25,7 @@ public function __construct() ]); $this->throttler = new Throttler( - new RandomStrategy() + new RandomStrategy(), ); } diff --git a/benchmarks/RoundRobinBench.php b/benchmarks/RoundRobinBench.php index 2505853..076c330 100644 --- a/benchmarks/RoundRobinBench.php +++ b/benchmarks/RoundRobinBench.php @@ -27,7 +27,7 @@ public function __construct() $this->throttler = new Throttler( new RoundRobinStrategy( - new InMemoryCounter() + new InMemoryCounter(start: 0), ) ); } diff --git a/benchmarks/SmoothWeightedRoundRobinBench.php b/benchmarks/SmoothWeightedRoundRobinBench.php index 9bb90f1..09985d0 100644 --- a/benchmarks/SmoothWeightedRoundRobinBench.php +++ b/benchmarks/SmoothWeightedRoundRobinBench.php @@ -25,7 +25,7 @@ public function __construct() ]); $this->throttler = new Throttler( - new SmoothWeightedRoundRobinStrategy() + new SmoothWeightedRoundRobinStrategy(), ); } diff --git a/benchmarks/WeightedRandomBench.php b/benchmarks/WeightedRandomBench.php index 96d276e..ba40fdc 100644 --- a/benchmarks/WeightedRandomBench.php +++ b/benchmarks/WeightedRandomBench.php @@ -25,7 +25,7 @@ public function __construct() ]); $this->throttler = new Throttler( - new WeightedRandomStrategy() + new WeightedRandomStrategy(), ); } diff --git a/benchmarks/WeightedRoundRobinBench.php b/benchmarks/WeightedRoundRobinBench.php index 9d7e364..1e89879 100644 --- a/benchmarks/WeightedRoundRobinBench.php +++ b/benchmarks/WeightedRoundRobinBench.php @@ -27,7 +27,7 @@ public function __construct() $this->throttler = new Throttler( new WeightedRoundRobinStrategy( - new InMemoryCounter() + new InMemoryCounter(start: 0), ) ); }