Skip to content

Commit 4b7e7e4

Browse files
simivarProgi1984
andcommitted
Update src/PhpWord/TemplateProcessor.php
Co-authored-by: Progi1984 <[email protected]>
1 parent 9a6eb69 commit 4b7e7e4

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
@@ -1159,7 +1159,7 @@ protected function getDocumentContentTypesName()
11591159
*
11601160
* @throws \PhpOffice\PhpWord\Exception\Exception
11611161
*/
1162-
protected function findTableStart($offset)
1162+
protected function findTableStart(int $offset): int
11631163
{
11641164
$rowStart = strrpos($this->tempDocumentMainPart, '<w:tbl ',
11651165
((strlen($this->tempDocumentMainPart) - $offset) * -1));

0 commit comments

Comments
 (0)