junichi11 commented on code in PR #5678:
URL: https://github.com/apache/netbeans/pull/5678#discussion_r1141644502


##########
php/php.editor/src/org/netbeans/modules/php/editor/completion/DocRenderer.java:
##########
@@ -531,11 +532,11 @@ private String composeFunctionDoc(String description, 
String parameters, String
         }
 
         private String composeParameterLine(PHPDocVarTypeTag param) {
-            return composeParameterLine(param.getTypes(), 
param.getVariable().getValue(), param.getDocumentation());
+            return composeParameterLine(param.getTypes(), 
param.getVariable().getValue(), param.getDocumentation(), param);

Review Comment:
   Yes, I wanted to do it. The following uses another documentation param...
   
https://github.com/apache/netbeans/blob/8ad336e64d56b0d27ee8b7a50bfcc47afcded50a/php/php.editor/src/org/netbeans/modules/php/editor/completion/DocRenderer.java#L718-L719
   
   So, I'll change it to the following.
   ```java
           private String composeParameterLine(PHPDocVarTypeTag param) {
               return composeParameterLine(param, param.getDocumentation());
           }
   
           private String composeParameterLine(PHPDocVarTypeTag param, String 
documentation) {
               return composeParameterLine(composeType(param.getTypes(), 
getTypeKind(param)), param.getVariable().getValue(), documentation);
           }
   
   ```
   ```java
                           String paramDescription = 
composeParamTagDescription(param, inheritedComments);
                           String paramLine = composeParameterLine(param, 
paramDescription);
   ```
   
   



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

Reply via email to