diff --git a/src/PhpWord/TemplateProcessor.php b/src/PhpWord/TemplateProcessor.php index d46e28a2..176d9cc4 100644 --- a/src/PhpWord/TemplateProcessor.php +++ b/src/PhpWord/TemplateProcessor.php @@ -1159,7 +1159,7 @@ class TemplateProcessor * * @throws \PhpOffice\PhpWord\Exception\Exception */ - protected function findTableStart($offset) + protected function findTableStart(int $offset): int { $rowStart = strrpos($this->tempDocumentMainPart, 'tempDocumentMainPart) - $offset) * -1));