Revert "CS fixes"

This reverts commit ff60985e5128a499c5840cae7f20a953ed49119f.
This commit is contained in:
Tim Kelty
2024-08-25 11:57:46 -04:00
parent ff60985e51
commit 2d38497f0a
2 changed files with 2 additions and 1 deletions

View File

@ -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);
}

View File

@ -823,4 +823,5 @@ SQL;
{
return Yii::createObject(ColumnSchemaBuilder::className(), [$type, $length, $this->db]);
}
}