Skip to content

Commit

Permalink
Fix BC issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Nov 12, 2023
1 parent e0bd00d commit 52671b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/DMLQueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

namespace Yiisoft\Db\Oracle;

use Generator;
use JsonException;
use Yiisoft\Db\Exception\Exception;
use Yiisoft\Db\Exception\InvalidArgumentException;
Expand All @@ -29,7 +30,7 @@ final class DMLQueryBuilder extends AbstractDMLQueryBuilder
* @throws InvalidConfigException
* @throws NotSupportedException
*/
public function batchInsert(string $table, array $columns, iterable $rows, array &$params = []): string
public function batchInsert(string $table, array $columns, iterable|Generator $rows, array &$params = []): string
{
if (empty($rows)) {
return '';
Expand Down

0 comments on commit 52671b4

Please sign in to comment.