Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Commit 3240ca8

Browse files
committed
make CodegenWithAttribtues take a Traversable<T> instead of vec<T>
1 parent beee6f7 commit 3240ca8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CodegenWithAttributes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ final public function addEmptyUserAttribute(string $name): this {
2121

2222
final public function addUserAttribute<T>(
2323
string $name,
24-
vec<T> $values,
24+
Traversable<T> $values,
2525
IHackBuilderValueRenderer<T> $renderer,
2626
): this {
2727
$this->userAttributes[$name] =

0 commit comments

Comments
 (0)