Skip to content

Commit 2d7b2c2

Browse files
committed
add low priority on PostMount hook to ensure runs last
1 parent 9040a5f commit 2d7b2c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TwigComponent/src/HasAttributesTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function preMountAttributes(array $data): array
3535
return $data;
3636
}
3737

38-
#[PostMount]
38+
#[PostMount(priority: -1000)]
3939
public function mountAttributes(array $data): array
4040
{
4141
$attributes = array_merge($data['_attributes'], $data);

0 commit comments

Comments
 (0)