Skip to content

Commit acdb153

Browse files
committed
ATTRIBUTE: Attribute::addValue() add return type
1 parent 24078ed commit acdb153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

More/EAV/Attribute.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function __construct(private string $name)
1515
$this->values = new SplObjectStorage();
1616
}
1717

18-
public function addValue(Value $value)
18+
public function addValue(Value $value): void
1919
{
2020
$this->values->attach($value);
2121
}

0 commit comments

Comments
 (0)