junichi11 opened a new pull request, #7452:
URL: https://github.com/apache/netbeans/pull/7452

   - https://github.com/apache/netbeans/issues/7140
   - Add an indent token to a return statement of a closure if a function 
invocation has the closure
   - Add unit tests
   
   Example:
   ```php
   class GH7140 {
       public function test1(): void {
           $this->test->test(Test::class,
               function (): Test {
                   return new Test(
                   test: 0,
                   );
               });
       }
   }
   ```
   
   Before:
   ```php
   class GH7140 {
       public function test1(): void {
           $this->test->test(Test::class,
               function (): Test {
                   return new Test(
                   test: 0,
                   );
               });
       }
   }
   ```
   
   After:
   ```php
   class GH7140 {
       public function test1(): void {
           $this->test->test(Test::class,
               function (): Test {
                   return new Test(
                       test: 0,
                   );
               });
       }
   }
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to