You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "troizet (via GitHub)" <gi...@apache.org> on 2023/01/24 04:06:43 UTC
[GitHub] [netbeans] troizet opened a new issue, #5355: PHP: Guessing return type for function in documentation is not displayed correctly
troizet opened a new issue, #5355:
URL: https://github.com/apache/netbeans/issues/5355
### Apache NetBeans version
Apache NetBeans 16
### What happened
Guessing return type for function in documentation is not displayed correctly
### How to reproduce
- write a code
```php
function test(bool $a) {
if ($a) {
return 1;
} else {
return 'string';
}
}
test(true);
```
- set the caret to `test` and press `Ctrl + Shift + Space` or click `Source -> Show documentation`
- the documentation will show `stringint` instead of `string | int` as the return type
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
Debian 10
### JDK
OpenJDK 64-Bit Server VM 11.0.16+8-post-Debian-1deb10u1
### Apache NetBeans packaging
Apache NetBeans binary zip
### Anything else
_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] junichi11 closed issue #5355: PHP: Guessing return type for function in documentation is not displayed correctly
Posted by "junichi11 (via GitHub)" <gi...@apache.org>.
junichi11 closed issue #5355: PHP: Guessing return type for function in documentation is not displayed correctly
URL: https://github.com/apache/netbeans/issues/5355
--
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] KacerCZ commented on issue #5355: PHP: Guessing return type for function in documentation is not displayed correctly
Posted by "KacerCZ (via GitHub)" <gi...@apache.org>.
KacerCZ commented on issue #5355:
URL: https://github.com/apache/netbeans/issues/5355#issuecomment-1406920278
Reproducible.
Thanks for your report.
--
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