This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Multiple @return types in phpdoc causes issues with code assist | ||
---|---|---|---|
Product: | php | Reporter: | jhartikainen <jhartikainen> |
Component: | Editor | Assignee: | Petr Pisl <ppisl> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
jhartikainen
2008-11-29 15:51:19 UTC
Radek, now it should be easy to fi. We talked about the merge types. Try this code: <?php class Pub { public $street; public $town; } /** * @return Pub|null */ function findPub() { return new Pub(); } $pub = findPub(); $pub-> ?> I have fix for this. Fixed in the trunk. Integrated into 'main-golden', will be available in build *200812070201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/4f32ffb55962 User: Petr Pisl <ppisl@netbeans.org> Log: #154142 - Multiple @return types in phpdoc causes issues with code assist |