Skip to content

Fix array typehint for $variants in HtmlExtension#4707

Merged
fabpot merged 1 commit intotwigphp:3.xfrom
yoeunes:fix/html-cva-phpdoc
Oct 30, 2025
Merged

Fix array typehint for $variants in HtmlExtension#4707
fabpot merged 1 commit intotwigphp:3.xfrom
yoeunes:fix/html-cva-phpdoc

Conversation

@yoeunes
Copy link
Copy Markdown
Contributor

@yoeunes yoeunes commented Oct 30, 2025

This PR corrects the array typehint for the $variants parameter in the HtmlExtension::htmlCva method. It was missing a closing angle bracket (>).

@fabpot
Copy link
Copy Markdown
Contributor

fabpot commented Oct 30, 2025

Good catch, thanks @yoeunes.

@fabpot fabpot merged commit 80fa13c into twigphp:3.x Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants