[Doxygen-users] php array make output ugly
                
                Brought to you by:
                
                    dimitri
                    
                
            
            
        
        
        
    | 
      
      
      From: Jens K. <kal...@we...> - 2021-07-04 04:28:30
      
     | 
| Hello,
I tried searching a solution for my problem, but I can't find anything.
My Problem is, that doxygen for php don't handle default parameters
if they a array:
how can i fix this?
|/** * @brief convert rgb values to hexa decimal, and return array. *
@param int $red : 0 - 255 * @param int $green : 0 - 255 * @param int
$blue : 0 - 255 * @param array $default * @return array */ public static
function rgb2hex(int $red = 0, int $green = 0, int $blue = 0, array
$default = ['r' => 0, 'g' => 0, 'b' => 0] ) : array { ... return [ 'r'
=> $r, 'g' => $g, 'b' => $b ]; } |
screen sample: https://i.stack.imgur.com/bJhiu.png
<https://i.stack.imgur.com/bJhiu.png>
 |