Tune icons, different icons for true/false
This commit is contained in:
parent
0abca3d3a8
commit
466406733d
@ -22,9 +22,10 @@ class TreeList implements Countable
|
||||
private const TREE_INDENT = " ";
|
||||
|
||||
private const ICON_NUMERIC = "\u{f89f}";
|
||||
private const ICON_STRING = "\u{f475}";
|
||||
private const ICON_BOOL = "\u{f657}";
|
||||
private const ICON_NULL = "\u{2400}";
|
||||
private const ICON_STRING = "\u{f10e}";
|
||||
private const ICON_BOOL_TRUE = "\u{f657}";
|
||||
private const ICON_BOOL_FALSE = "\u{f630}";
|
||||
private const ICON_NULL = "\u{f141}";
|
||||
|
||||
public function __construct(private Tree $tree)
|
||||
{
|
||||
@ -196,7 +197,7 @@ class TreeList implements Countable
|
||||
'string' => self::ICON_STRING,
|
||||
'integer' => self::ICON_NUMERIC,
|
||||
'double' => self::ICON_NUMERIC,
|
||||
'boolean' => self::ICON_BOOL,
|
||||
'boolean' => ($entry->node->value)?self::ICON_BOOL_TRUE:self::ICON_BOOL_FALSE,
|
||||
'NULL' => self::ICON_NULL,
|
||||
default => self::ICON_STRING,
|
||||
}." ";
|
||||
|
Loading…
Reference in New Issue
Block a user