We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Kir\MySQL\Builder\Helpers\LazyRowGenerator::generate
callback
1 parent 6be24cd commit be2c664Copy full SHA for be2c664
src/Builder/Helpers/LazyRowGenerator.php
@@ -27,7 +27,7 @@ public function generate(QueryStatement $statement, Closure $callback = null) {
27
$row = FieldValueConverter::convertValues($row, $columnDefinitions);
28
}
29
if($callback !== null) {
30
- $row = call_user_func($callback);
+ $row = call_user_func($callback, $row);
31
if($row !== null) {
32
yield $row;
33
0 commit comments