Skip to content

Commit 88a2efe

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

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
@@ -775,7 +775,7 @@ public function cloneRow($search, $numberOfClones)
775775
*
776776
* @throws \PhpOffice\PhpWord\Exception\Exception
777777
*/
778-
public function deleteRow($search)
778+
public function deleteRow(string $search): void
779779
{
780780
if ('${' !== substr($search, 0, 2) && '}' !== substr($search, -1)) {
781781
$search = '${' . $search . '}';

0 commit comments

Comments
 (0)