Skip to content
Prev Previous commit
Next Next commit
fix: phpstan issues
Signed-off-by: Tom Carrio <tom@carrio.dev>
  • Loading branch information
tcarrio committed Dec 4, 2023
commit a80fdb18a976c791e3ff84c035deb70dac70be6a
2 changes: 1 addition & 1 deletion src/implementation/flags/EvaluationContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class EvaluationContext implements EvaluationContextInterface

public function __construct(
private ?string $targetingKey = null,
protected ?AttributesInterface $attributes = new Attributes(),
protected readonly AttributesInterface $attributes = new Attributes(),
) {
}

Expand Down
1 change: 0 additions & 1 deletion src/implementation/hooks/HookHints.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ class HookHints implements HookHintsInterface
*/
public function __construct(private readonly array $hints = [])
{
$this->hints = $hints;
}

/**
Expand Down