Junichi Yamamoto created NETBEANS-4970: ------------------------------------------
Summary: Incorrect formatting for lambda functions Key: NETBEANS-4970 URL: https://issues.apache.org/jira/browse/NETBEANS-4970 Project: NetBeans Issue Type: Bug Components: php - Editor Affects Versions: 12.2 Reporter: Junichi Yamamoto Assignee: Junichi Yamamoto Formatting is incorrect when a lambda function is used with a return statement. Example code: {code:php} <?php function test(): callable { return function ($test): void { echo "test"; }; } {code} h3. Actual result: {code:php} <?php function test(): callable { return function ($test): void { echo "test"; }; } {code} h3. Expected result: {code:php} <?php function test(): callable { return function ($test): void { echo "test"; }; } {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists