ATTRIBUTE: Attribute::addValue() add return type

This commit is contained in:
Remy Bos
2022-05-19 11:05:39 +02:00
parent 24078ed9de
commit acdb153b1c

View File

@@ -15,7 +15,7 @@ class Attribute implements \Stringable
$this->values = new SplObjectStorage(); $this->values = new SplObjectStorage();
} }
public function addValue(Value $value) public function addValue(Value $value): void
{ {
$this->values->attach($value); $this->values->attach($value);
} }