mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-26 01:31:20 +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();
|
||||
}
|
||||
|
||||
public function addValue(Value $value)
|
||||
public function addValue(Value $value): void
|
||||
{
|
||||
$this->values->attach($value);
|
||||
}
|
||||
|
Reference in New Issue
Block a user