mirror of
https://github.com/yiisoft/yii2.git
synced 2025-10-29 09:28:37 +08:00
CS fixes
This commit is contained in:
@ -1783,7 +1783,7 @@ abstract class BaseActiveRecord extends Model implements ActiveRecordInterface
|
||||
{
|
||||
if (is_array($newValue) && is_array($oldValue)) {
|
||||
// Only sort associative arrays
|
||||
$sorter = function(&$array) {
|
||||
$sorter = function (&$array) {
|
||||
if (ArrayHelper::isAssociative($array)) {
|
||||
ksort($array);
|
||||
}
|
||||
|
||||
@ -823,5 +823,4 @@ SQL;
|
||||
{
|
||||
return Yii::createObject(ColumnSchemaBuilder::className(), [$type, $length, $this->db]);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user