Skip to content

Commit 5fbf82c

Browse files
authored
add parameter type
1 parent 9660d59 commit 5fbf82c

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
@@ -362,7 +362,7 @@ public function setValue($search, $replace, $limit = self::MAXIMUM_REPLACEMENTS_
362362
/**
363363
* Set values from a one-dimensional array of "variable => value"-pairs.
364364
*/
365-
public function setValues(array $values, $limit = self::MAXIMUM_REPLACEMENTS_DEFAULT): void
365+
public function setValues(array $values, int $limit = self::MAXIMUM_REPLACEMENTS_DEFAULT): void
366366
{
367367
foreach ($values as $macro => $replace) {
368368
$this->setValue($macro, $replace, $limit);

0 commit comments

Comments
 (0)