File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77use Exception ;
88use Throwable ;
99use Yiisoft \Db \Driver \Pdo \AbstractPdoCommand ;
10- use Yiisoft \Db \Driver \Pdo \PdoConnectionInterface ;
1110use Yiisoft \Db \Exception \ConvertException ;
1211use Yiisoft \Db \QueryBuilder \QueryBuilderInterface ;
1312
@@ -49,7 +48,9 @@ protected function internalExecute(string|null $rawSql): void
4948 && $ this ->db ->getTransaction () === null
5049 ) {
5150 $ this ->db ->transaction (
52- fn (PdoConnectionInterface $ db ) => $ this ->internalExecute ($ rawSql ),
51+ function () use ($ rawSql ): void {
52+ $ this ->internalExecute ($ rawSql );
53+ },
5354 $ this ->isolationLevel
5455 );
5556 } else {
Original file line number Diff line number Diff line change 5050 * column_default: string|null,
5151 * is_autoinc: bool,
5252 * sequence_name: string|null,
53- * enum_values: array<array-key, float|int|string>| string|null,
53+ * enum_values: string|null,
5454 * numeric_precision: int|null,
5555 * numeric_scale: int|null,
5656 * size: string|null,
You can’t perform that action at this time.
0 commit comments