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