Update src/PhpWord/TemplateProcessor.php
Co-authored-by: Progi1984 <progi1984@gmail.com>
This commit is contained in:
parent
9a6eb6970d
commit
4b7e7e4612
@ -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, '<w:tbl ',
|
||||
((strlen($this->tempDocumentMainPart) - $offset) * -1));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user