Skip to content

Commit c365008

Browse files
committed
ENTITY: Entity::__construct() add type declaration to parameter
1 parent acdb153 commit c365008

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

More/EAV/Entity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Entity implements \Stringable
1616
/**
1717
* @param Value[] $values
1818
*/
19-
public function __construct(private string $name, $values)
19+
public function __construct(private string $name, array $values)
2020
{
2121
$this->values = new SplObjectStorage();
2222

0 commit comments

Comments
 (0)