mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-06-10 07:54:56 +02:00
ATTRIBUTE: Attribute::addValue() add return type
This commit is contained in:
parent
24078ed9de
commit
acdb153b1c
@ -15,7 +15,7 @@ class Attribute implements \Stringable
|
||||
$this->values = new SplObjectStorage();
|
||||
}
|
||||
|
||||
public function addValue(Value $value)
|
||||
public function addValue(Value $value): void
|
||||
{
|
||||
$this->values->attach($value);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user