From fdcd550c29e6f31778d53f8bd2bb05b4ed3cbffa Mon Sep 17 00:00:00 2001 From: Shubhanshu Tomar Date: Tue, 18 Aug 2026 20:28:57 +0530 Subject: [PATCH] fix(php): add query for arrow functions --- queries/php/textobjects.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/queries/php/textobjects.scm b/queries/php/textobjects.scm index d7cd658e..7128d2e1 100644 --- a/queries/php/textobjects.scm +++ b/queries/php/textobjects.scm @@ -17,6 +17,11 @@ (anonymous_function) @function.outer +(arrow_function + body: (_) @function.inner) + +(arrow_function) @function.outer + ; methods (method_declaration body: (compound_statement