Skip to content

Fix array typehint for $variants in HtmlExtension#4707

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

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

Conversation

@yoeunes

@yoeunes yoeunes commented Oct 30, 2025

Copy link
Copy Markdown
Contributor

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

@fabpot

fabpot commented Oct 30, 2025

Copy link
Copy Markdown
Contributor

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