Skip to content

Commit 9cfb502

Browse files
author
Martin Brecht-Precht
committed
Fixed a type related issue with the plaintext walker util
1 parent 03f6a82 commit 9cfb502

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Dispatcher/CommonmarkUtil/PlaintextWalker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function processNode(Node $node)
6161
/**
6262
* @return string
6363
*/
64-
public function getPlaintext(): string
64+
public function getPlaintext(): ?string
6565
{
6666
return $this->plaintextBuilder->build();
6767
}

0 commit comments

Comments
 (0)