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

   - Fix bug where phpdoc for a function or method is generated in the wrong 
block.
   
   Example:
   ```php
   class ClassExample
   {
   
       public function method1()
       {
           
       }
   
       private function method2($params)
       {
           return false;
       }
   }
   ```
   
   Before:
   
   
https://github.com/apache/netbeans/assets/9607501/f2f8b6f6-8d39-4174-83f4-4e8ffe3eb19b
   
   
   After:
   
   
https://github.com/apache/netbeans/assets/9607501/6548b366-6ccc-406f-a01c-ec61219c7a99
   
   
   - Fix bug where phpdoc from another block is used to display documentation 
for a function or method.
   Example:
   ```php
   class ClassExample
   {
   
       public function method1()
       {
           /**
            *
            * @param string $params
            * @return int
            */
       }
   
       private function method2(int $params)
       {
           return 'string';
       }
   }
   ```
   
   Before:
   
![phpdoc_before](https://github.com/apache/netbeans/assets/9607501/a96c719e-ae2c-4430-aa72-c9a66df49aec)
   
   After:
   
![phpdoc_after](https://github.com/apache/netbeans/assets/9607501/3ecaa515-b95e-4ceb-94be-cbf23509401d)
   
   


-- 
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