[ 
https://issues.apache.org/jira/browse/NETBEANS-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16904708#comment-16904708
 ] 

Tomáš Procházka commented on NETBEANS-53:
-----------------------------------------

In method 
org.netbeans.modules.php.editor.codegen.CGSInfo.PropertiesVisitor.getFirstTypeFromTag()
 is in condition "!Type.isPrimitive(type)". If this condition is removed, then 
scalar types are generated as part of code.
Similar problem is also for type "array".


> PHP7.1 Setter/Getter code generation static types
> -------------------------------------------------
>
>                 Key: NETBEANS-53
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-53
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: php - Editor
>            Reporter: Ádám Turcsán
>            Assignee: Junichi Yamamoto
>            Priority: Major
>
> The Insert code... / Setters/getters... functionality works great and uses 
> the docblock typehints as well but with static types (int, string) it 
> generates the setters and getter without argument types or return types.
> It would be great if it could work with static types as well.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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

Reply via email to