Skip to content

Commit e542065

Browse files
committed
Improved type coalescing
1 parent 5549126 commit e542065

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CMText/RichContent/Messages/TextMessage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class TextMessage implements IRichMessage
2929
* @param string $Text
3030
* @param string|null $Tag
3131
*/
32-
public function __construct(string $Text, $Tag = null)
32+
public function __construct(string $Text, ?string $Tag = null)
3333
{
3434
$this->text = $Text;
3535
$this->tag = $Tag;

0 commit comments

Comments
 (0)