Keep things as private as possible
This commit is contained in:
parent
14c6e6f370
commit
a771de75b9
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user