Skip to content

Commit 7c99c33

Browse files
committed
Narrow preserveLeadingComments property to private
It is read only inside BaseMultiQueryParser::buildQuery(); no subclass accesses it, so `protected` advertised an extension point that does not exist. Tighten the boundary to `private`. Co-Authored-By: Claude Code
1 parent fc9f1b6 commit 7c99c33

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/BaseMultiQueryParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ abstract class BaseMultiQueryParser implements IMultiQueryParser
1818
* leading whitespace is stripped.
1919
*/
2020
public function __construct(
21-
protected bool $preserveLeadingComments = false,
21+
private bool $preserveLeadingComments = false,
2222
) {
2323
}
2424

0 commit comments

Comments
 (0)