Skip to content

Commit d0e8c03

Browse files
authored
Fix default value for Conditional::$text
1 parent d015754 commit d0e8c03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpSpreadsheet/Style/Conditional.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class Conditional implements IComparable
8484
/**
8585
* Text.
8686
*/
87-
private string $text;
87+
private string $text = '';
8888

8989
/**
9090
* Stop on this condition, if it matches.

0 commit comments

Comments
 (0)