Skip to content

Commit 9a6eb69

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

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
@@ -768,7 +768,7 @@ public function cloneRow($search, $numberOfClones): void
768768
*
769769
* @throws \PhpOffice\PhpWord\Exception\Exception
770770
*/
771-
public function deleteRow($search)
771+
public function deleteRow(string $search): void
772772
{
773773
if ('${' !== substr($search, 0, 2) && '}' !== substr($search, -1)) {
774774
$search = '${' . $search . '}';

0 commit comments

Comments
 (0)