File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55namespace Yiisoft \Db \Oracle ;
66
77use Throwable ;
8- use Yiisoft \Arrays \ArrayHelper ;
98use Yiisoft \Db \Cache \SchemaCache ;
109use Yiisoft \Db \Connection \ConnectionInterface ;
1110use Yiisoft \Db \Constraint \CheckConstraint ;
1615use Yiisoft \Db \Exception \InvalidConfigException ;
1716use Yiisoft \Db \Exception \NotSupportedException ;
1817use Yiisoft \Db \Expression \Expression ;
18+ use Yiisoft \Db \Helper \ArrayHelper ;
1919use Yiisoft \Db \Schema \AbstractSchema ;
2020use Yiisoft \Db \Schema \ColumnSchemaBuilderInterface ;
2121use Yiisoft \Db \Schema \TableSchemaInterface ;
@@ -238,7 +238,7 @@ protected function loadTableIndexes(string $tableName): array
238238
239239 /** @psalm-var array[] $indexes */
240240 $ indexes = $ this ->normalizeRowKeyCase ($ indexes , true );
241- $ indexes = ArrayHelper::index ($ indexes , null , 'name ' );
241+ $ indexes = ArrayHelper::index ($ indexes , null , [ 'name ' ] );
242242
243243 $ result = [];
244244
You can’t perform that action at this time.
0 commit comments