[ 
https://issues.apache.org/jira/browse/NETBEANS-6309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jayce updated NETBEANS-6309:
----------------------------
    Description: 
Let's imagine the following interface:
{code:java}
interface FooInterface {
     /**
     * Doc
     * @param string $param
     * @return array<int, \Some\Object>
     */      
     public function bar(string $param):array;
}
{code}
In an implementation class, if you use {*}Source Menu>InsertCode>Override & 
implement method{*}, the inserted code is not complete:
 * Documentation is missing
 * Return type (array in the example) is also missing

 

  was:
Set image the following interface:

 
{code:java}
interface FooInterface {
     /**
     * Doc
     * @param string $param
     * @return array<int, \Some\Object>
     */      
     public function bar(string $param):array;
}
{code}
In an implementation class, if you use {*}Source Menu>InsertCode>Override & 
implement method{*}, the inserted code is not complete:
 * Documentation is missing
 * Return type (array in the example) is also missing

 


> Source menu>InsertCode>Override & implement method: return type missing
> -----------------------------------------------------------------------
>
>                 Key: NETBEANS-6309
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-6309
>             Project: NetBeans
>          Issue Type: Bug
>          Components: php - Code, php - Editor
>    Affects Versions: 12.6
>            Reporter: Jayce
>            Assignee: Junichi Yamamoto
>            Priority: Major
>
> Let's imagine the following interface:
> {code:java}
> interface FooInterface {
>      /**
>      * Doc
>      * @param string $param
>      * @return array<int, \Some\Object>
>      */      
>      public function bar(string $param):array;
> }
> {code}
> In an implementation class, if you use {*}Source Menu>InsertCode>Override & 
> implement method{*}, the inserted code is not complete:
>  * Documentation is missing
>  * Return type (array in the example) is also missing
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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