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

   Code example:
   
   ```php
   function testArrayReturnType()
   {
       return [1, 2];
   }
   
   
   function testArrayReturnTypeWithUnionType()
   {
       if (true) {
           return 'string';
       }
       return [1, 2];
   }
   
   testArrayReturnType();
   testArrayReturnTypeWithUnionType();
   ```
   #### Navigator
   
   |before| after|
   |---------|---------|
   
![navigator_before](https://github.com/apache/netbeans/assets/9607501/081f8941-1791-4d83-a53d-60b78f3f8479)
 | 
![navigator_after](https://github.com/apache/netbeans/assets/9607501/d1c4fca8-148a-4771-8eea-c888a541ae4e)
   
   #### Documentation tooltip
   
   |before| after|
   |---------|---------|
   
|![documentation_before_1](https://github.com/apache/netbeans/assets/9607501/61fd3af3-a452-417b-b6f2-4758b2a853fb)
 | 
![documentsation_after](https://github.com/apache/netbeans/assets/9607501/cff48abf-9b9e-4ea9-a500-6920b6a08a9c)
 | 
   
![documentation_before_2](https://github.com/apache/netbeans/assets/9607501/3136635c-994e-4cd5-998c-8a4d942dd1cb)
 | 
![documentation_after_2](https://github.com/apache/netbeans/assets/9607501/374c862f-ffb9-4eb1-8603-6914351d07df)
 |
   
   #### phpDoc generation
   
   |before| after|
   |---------|---------|
   
|![phpdoc_before](https://github.com/apache/netbeans/assets/9607501/18e49d11-ba45-4272-acf3-07775ad19a81)
 | 
![phpdoc_after](https://github.com/apache/netbeans/assets/9607501/b158ef30-74c9-4cbe-965c-db6e40f00abe)|
   
|![phpdoc_before_2](https://github.com/apache/netbeans/assets/9607501/99e6a7b2-ec93-4926-8735-c19997e4bb1f)
 | 
![phpdoc_after_2](https://github.com/apache/netbeans/assets/9607501/15edcd83-fbb3-4a1e-ba4f-81a136f4d298)|
   
   
   
   
   Code example:
   
   ```php
   class Foo {
       public function myFoo(){
           return [1, 2];
       }
   }
   
   class Bar extends Foo {
   
   }
   ```
   #### Overriding method
   |before| after|
   |---------|---------|
   
|![overriding_before](https://github.com/apache/netbeans/assets/9607501/b4bd489b-1337-4351-870b-07239f320bd3)
 | 
![overriding_after](https://github.com/apache/netbeans/assets/9607501/db484aee-c319-4f3c-9660-2f4c673827b1)|
   
   
   
   


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