Skip to content

Commit e8777da

Browse files
committed
Serializer
1 parent 3d64aa5 commit e8777da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/04-adding-your-own-tag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,5 +126,5 @@ public function __toString(): string
126126

127127
// As an experiment: let's reconstitute the DocBlock and observe that because we added a __toString() method
128128
// to the tag class that we can now also see it.
129-
$serializer = new Serializer();
129+
$serializer = new Serializer(0, '',true, null, null, PHP_EOL);
130130
$reconstitutedDocComment = $serializer->getDocComment($docblock);

0 commit comments

Comments
 (0)