Skip to content

Commit f780c5d

Browse files
authored
Merge pull request #1866 from manishbhatias/patch-1
Fix example for cloneRowAndSetValues
2 parents 072c3bf + 1587c59 commit f780c5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/templates-processing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ Finds a row in a table row identified by `$search` param and clones it as many t
190190
['userId' => 1, 'userName' => 'Batman', 'userAddress' => 'Gotham City'],
191191
['userId' => 2, 'userName' => 'Superman', 'userAddress' => 'Metropolis'],
192192
];
193-
$templateProcessor->cloneRowAndSetValues('userId', );
193+
$templateProcessor->cloneRowAndSetValues('userId', $values);
194194
195195
Will result in
196196

0 commit comments

Comments
 (0)