Skip to content

fix(php): add query for arrow functions - #900

Open
tomshoo wants to merge 1 commit into
nvim-treesitter:mainfrom
tomshoo:fixes/php-arrow-functions
Open

fix(php): add query for arrow functions#900
tomshoo wants to merge 1 commit into
nvim-treesitter:mainfrom
tomshoo:fixes/php-arrow-functions

Conversation

@tomshoo

@tomshoo tomshoo commented Aug 18, 2026

Copy link
Copy Markdown

The current implementation for php lacks queries matching arrow functions in php, which are defined as:

static fn (...$args) => <expression>

or

fn (...$args) => <expression>

This PR adds that query.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant