| Conditions | 5 | 
| Paths | 12 | 
| Total Lines | 24 | 
| Code Lines | 19 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 21 | public static function entryToUl($data, $first = true)  | 
            ||
| 22 |     { | 
            ||
| 23 | $out = $first ? '<span style="color: #007700">[</span>' : '';  | 
            ||
| 24 | $out .= '<ul style="margin-bottom: 0">';  | 
            ||
| 25 |         foreach ($data as $key => $arrayItem) { | 
            ||
| 26 |             if (!is_array($arrayItem)) { | 
            ||
| 27 | $out .= '<li class="list-unstyled">' .  | 
            ||
| 28 | '<span style="color: #0000BB">' . $key . '</span>' .  | 
            ||
| 29 | '<span style="color: #007700">: </span>' .  | 
            ||
| 30 | '<span style="color: #DD0000">' . $arrayItem . '</span>'.  | 
            ||
| 31 | '</li>';  | 
            ||
| 32 |             } else { | 
            ||
| 33 | $out .= '<li class="list-unstyled">' .  | 
            ||
| 34 | '<span style="color: #0000BB">' . $key . '</span>' .  | 
            ||
| 35 | '<span style="color: #007700">: </span>' .  | 
            ||
| 36 | self::entryToUl($arrayItem) .  | 
            ||
| 37 | '</li>';  | 
            ||
| 38 | }  | 
            ||
| 39 | }  | 
            ||
| 40 | $out .= '</ul>';  | 
            ||
| 41 | $out .= $first ? '<span style="color: #007700">]</span>' : '';  | 
            ||
| 42 | |||
| 43 | return $out;  | 
            ||
| 44 | }  | 
            ||
| 45 | |||
| 46 | }  |