We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb8218c commit 9051f61Copy full SHA for 9051f61
src/Handler/CommonmarkHandler.php
@@ -793,8 +793,11 @@ private function startLine()
793
* @param string $string
794
* @return $this
795
*/
796
- private function append(string $string)
+ private function append(?string $string)
797
{
798
+ if ($string === null) {
799
+ return $this;
800
+ }
801
$this->output .= $string;
802
return $this;
803
}
0 commit comments