Skip to content

Commit a771de7

Browse files
committed
Keep things as private as possible
1 parent 14c6e6f commit a771de7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PhpWord/TemplateProcessor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ protected function getDocumentContentTypesName()
11461146
/**
11471147
* Find the start position of the nearest table before $offset.
11481148
*/
1149-
protected function findTableStart(int $offset): int
1149+
private function findTableStart(int $offset): int
11501150
{
11511151
$rowStart = strrpos(
11521152
$this->tempDocumentMainPart,
@@ -1171,7 +1171,7 @@ protected function findTableStart(int $offset): int
11711171
/**
11721172
* Find the end position of the nearest table row after $offset.
11731173
*/
1174-
protected function findTableEnd(int $offset): int
1174+
private function findTableEnd(int $offset): int
11751175
{
11761176
return strpos($this->tempDocumentMainPart, '</w:tbl>', $offset) + 7;
11771177
}

0 commit comments

Comments
 (0)