troizet opened a new issue, #5426:
URL: https://github.com/apache/netbeans/issues/5426
### Apache NetBeans version
Apache NetBeans 16
### What happened
The `BaseClass&BaseInterface` intersection type specified in the phpDoc tag
is displayed as `BaseClass|BaseInterface`.
### How to reproduce
- write a code
```php
class newPHPClass {
/**
* Text
* @var BaseClass&BaseInterface
*/
public $test;
/**
* Text
*
* @param BaseClass&BaseInterface $a
* @return BaseClass&BaseInterface
*/
public function test($a)
{
}
}
```
- use autocomplete or `Ctrl + hover` to display the documentation.
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
Ubuntu 20.04.5 LTS
### JDK
OpenJDK 64-Bit Server VM 11.0.17+8-post-Ubuntu-1ubuntu220.04
### Apache NetBeans packaging
Apache NetBeans provided installer
### 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: [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