diff --git a/src/QueryBuilder/DMLQueryBuilderInterface.php b/src/QueryBuilder/DMLQueryBuilderInterface.php index 0da3da0e8..31b8043cd 100644 --- a/src/QueryBuilder/DMLQueryBuilderInterface.php +++ b/src/QueryBuilder/DMLQueryBuilderInterface.php @@ -34,7 +34,7 @@ interface DMLQueryBuilderInterface * * @param string $table The table to insert new rows into. * @param string[] $columns The column names of the table. - * @param Generator|iterable $rows The rows to batch-insert into the table. + * @param iterable $rows The rows to batch-insert into the table. * @param array $params The binding parameters. This parameter exists. * * @throws Exception @@ -48,7 +48,7 @@ interface DMLQueryBuilderInterface * - That the values in each row must match the corresponding column names. * - The method will escape the column names, and quote the values to insert. */ - public function batchInsert(string $table, array $columns, iterable|Generator $rows, array &$params = []): string; + public function batchInsert(string $table, array $columns, iterable $rows, array &$params = []): string; /** * Creates a `DELETE` SQL statement.