You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/09/10 13:02:34 UTC

[GitHub] [netbeans] zeleznypa opened a new issue, #4613: PHP `$this`, `static` and `self` return type

zeleznypa opened a new issue, #4613:
URL: https://github.com/apache/netbeans/issues/4613

   ### Description
   
   When I use `@return static` in PhpDoc or `public function foo(): static`, the NetBeans works well also with code suggestion.
   
   But unfortunately some of third-party code like one of the most frequent framework Laravel use `@return $this` which mean the same like `static`, but NetBeans don't understand it.
   
   There is also the return type `self` which mean nearly the same, but the NetBeans also  don't understand it.
   
   ### Use case/motivation
   
   I want to have working code suggestion also when I use the third party code :)
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
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: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] zeleznypa closed issue #4613: PHP `$this`, `static` and `self` return type

Posted by "zeleznypa (via GitHub)" <gi...@apache.org>.
zeleznypa closed issue #4613: PHP `$this`, `static` and `self` return type
URL: https://github.com/apache/netbeans/issues/4613


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] zeleznypa commented on issue #4613: PHP `$this`, `static` and `self` return type

Posted by "zeleznypa (via GitHub)" <gi...@apache.org>.
zeleznypa commented on issue #4613:
URL: https://github.com/apache/netbeans/issues/4613#issuecomment-1480699219

   It looks like that it is already fixed.


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] junichi11 commented on issue #4613: PHP `$this`, `static` and `self` return type

Posted by "junichi11 (via GitHub)" <gi...@apache.org>.
junichi11 commented on issue #4613:
URL: https://github.com/apache/netbeans/issues/4613#issuecomment-1480526595

   Could you write an example code, steps to reproduce, and actual&expected results?
   e.g. 
   ```php
   // example code
   ```
   #### Steps to reproduce
   1.
   2.
   3.
   
   #### Actual result
   something
   
   #### Expected result
   something


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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