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.

Bug 270587

Summary: php /** auto generate function document enhancement
Product: ide Reporter: kklou
Component: CodeAssignee: issues@ide <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description kklou 2017-05-08 14:14:27 UTC
Product Version = NetBeans IDE 8.2 (Build 201609300101)
Operating System = Linux version 4.4.0-75-generic running on amd64
Java; VM; Vendor = 1.8.0_111
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.111-b14

Reproducibility: null

STEPS:
  * 

ACTUAL:
  nothing wrong

EXPECTED:

pls see the comments inside the function definition below.
i suggest to auto append the comments at the end of each line of function parameters to the above document generated.

     /**    (document generated)
     * prepare statement + execution -> output associated array
     * @param string $assocNames keys of the output associated array
     * @param string $sql jhk
     * @param string $typesj jhk
     * @param array $arr jhk
     * @param int $storeResult jhk
     * @return mixed 1: true/false 2: associate array
     */
    public function stmtQuery // ==== prepare statement + execution -> output associated array ====================
        ( string $assocNames           // keys of the output associated array
        , string $sql                          // jhk 
        , string $types                     // jhk 
        , array  $arr                        // jhk     
        , array  $options = [storeResult=>0]   // jhk 
        ){ // ---------------  @return  -------// mixed 1: true/false 2: associate array ------------------
        ...
        }