Skip to content

Commit c60ca0a

Browse files
simivarProgi1984
andauthored
Update src/PhpWord/TemplateProcessor.php
Co-authored-by: Progi1984 <[email protected]>
1 parent 88a2efe commit c60ca0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpWord/TemplateProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,7 @@ protected function getDocumentContentTypesName()
11681168
*
11691169
* @throws \PhpOffice\PhpWord\Exception\Exception
11701170
*/
1171-
protected function findTableStart($offset)
1171+
protected function findTableStart(int $offset): int
11721172
{
11731173
$rowStart = strrpos($this->tempDocumentMainPart, '<w:tbl ',
11741174
((strlen($this->tempDocumentMainPart) - $offset) * -1));

0 commit comments

Comments
 (0)