Skip to content

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

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

feat(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.

@kiyoon kiyoon changed the title fix(php): add query for arrow functions feat(php): add query for arrow functions Aug 19, 2026
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