mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-28 10:40:17 +02:00
ATTRIBUTE: Attribute::addValue() add return type
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user