Skip to content

Commit 38ffcbf

Browse files
committed
fix visibility
1 parent cba628f commit 38ffcbf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Parse/Lexer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ protected function ensureStreamNotEnded(): void
256256
}
257257
}
258258

259-
private function laxRawBodyTag(string $tag): void
259+
protected function laxRawBodyTag(string $tag): void
260260
{
261261
if (preg_match(LexerOptions::blockRawBodyTagDataRegex($tag), $this->source, $matches, flags: PREG_OFFSET_CAPTURE, offset: $this->cursor) !== 1) {
262262
throw SyntaxException::tagBlockNeverClosed($tag);

src/Tags/DocTag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
class DocTag extends TagBlock
1313
{
14-
protected Raw $body;
14+
public readonly Raw $body;
1515

1616
public static function tagName(): string
1717
{

0 commit comments

Comments
 (0)