Skip to content

Commit

Permalink
remove default value in Config class constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloJoan committed Nov 28, 2023
1 parent a25342f commit b8d5558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Configurations/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
private array $variantIntegerRanges;
private BucketType $bucketing;

public function __construct(array $config = ['variants' => ['' => 100]])
public function __construct(array $config)
{
$this->variantIntegerRanges = $this->calculateIntegerRangeFromVariants(
$config['variants'] ?? []
Expand Down

0 comments on commit b8d5558

Please sign in to comment.