You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Jayce (Jira)" <ji...@apache.org> on 2021/12/16 17:27:00 UTC

[jira] [Updated] (NETBEANS-6309) Source menu>InsertCode>Override & implement method: return type missing

     [ 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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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