Skip to content

Commit 0f11d5a

Browse files
committed
fixed PHP 8.5 compatibility
1 parent 46cf4ff commit 0f11d5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Framework/Dumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ public static function color(string $color = '', ?string $s = null): string
419419
'navy' => '0;34', 'blue' => '1;34', 'green' => '0;32', 'lime' => '1;32',
420420
'teal' => '0;36', 'aqua' => '1;36', 'maroon' => '0;31', 'red' => '1;31',
421421
'purple' => '0;35', 'fuchsia' => '1;35', 'olive' => '0;33', 'yellow' => '1;33',
422-
null => '0',
422+
'' => '0',
423423
];
424424
$c = explode('/', $color);
425425
return "\e["

0 commit comments

Comments
 (0)