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.
1 parent 34af072 commit 30f8b50Copy full SHA for 30f8b50
src/Builder/Helpers/LazyRowGenerator.php
@@ -21,7 +21,7 @@ public function __construct($preserveTypes) {
21
* @param Closure $callback
22
* @return array[]|Generator
23
*/
24
- public function generate(QueryStatement $statement, Closure $callback) {
+ public function generate(QueryStatement $statement, Closure $callback = null) {
25
while($row = $statement->fetch(\PDO::FETCH_ASSOC)) {
26
if($this->preserveTypes) {
27
$columnDefinitions = FieldTypeProvider::getFieldTypes($statement);
0 commit comments