Keep things as private as possible

This commit is contained in:
Adrien Crivelli 2022-11-16 22:02:21 +01:00
parent 14c6e6f370
commit a771de75b9
No known key found for this signature in database
GPG Key ID: 16D79B903B4B5874

View File

@ -1146,7 +1146,7 @@ class TemplateProcessor
/** /**
* Find the start position of the nearest table before $offset. * Find the start position of the nearest table before $offset.
*/ */
protected function findTableStart(int $offset): int private function findTableStart(int $offset): int
{ {
$rowStart = strrpos( $rowStart = strrpos(
$this->tempDocumentMainPart, $this->tempDocumentMainPart,
@ -1171,7 +1171,7 @@ class TemplateProcessor
/** /**
* Find the end position of the nearest table row after $offset. * Find the end position of the nearest table row after $offset.
*/ */
protected function findTableEnd(int $offset): int private function findTableEnd(int $offset): int
{ {
return strpos($this->tempDocumentMainPart, '</w:tbl>', $offset) + 7; return strpos($this->tempDocumentMainPart, '</w:tbl>', $offset) + 7;
} }