From 1587c59f401340a61a97087c5eb0e6e3e7700968 Mon Sep 17 00:00:00 2001 From: Manish Bhatia Date: Wed, 13 May 2020 12:48:54 +0530 Subject: [PATCH] Fix example for cloneRowAndSetValues Added a fix for missing parameter to the cloneRowAndSetValues function call in its example. --- docs/templates-processing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/templates-processing.rst b/docs/templates-processing.rst index c4c3db4e..32e3c462 100644 --- a/docs/templates-processing.rst +++ b/docs/templates-processing.rst @@ -190,7 +190,7 @@ Finds a row in a table row identified by `$search` param and clones it as many t ['userId' => 1, 'userName' => 'Batman', 'userAddress' => 'Gotham City'], ['userId' => 2, 'userName' => 'Superman', 'userAddress' => 'Metropolis'], ]; - $templateProcessor->cloneRowAndSetValues('userId', ); + $templateProcessor->cloneRowAndSetValues('userId', $values); Will result in