Skip to content
This repository was archived by the owner on Apr 1, 2024. It is now read-only.

Commit 23f0fa7

Browse files
committed
fix Set->toArray() call
1 parent 53e52e9 commit 23f0fa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/html/XHPHelpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ final private function transferAttributesImpl(
9797
if ($ignore === null) {
9898
$ignore = :xhp:html-element::__xhpAttributeDeclaration();
9999
} else {
100-
$ignore = array_fill_keys($ignore->toArray(), true);
100+
$ignore = array_fill_keys(varray($ignore), true);
101101
}
102102

103103
$compatible = new Map($target::__xhpAttributeDeclaration());

0 commit comments

Comments
 (0)