From 2d38497f0a96974ab621c4198ba60c2ecf4763c3 Mon Sep 17 00:00:00 2001 From: Tim Kelty Date: Sun, 25 Aug 2024 11:57:46 -0400 Subject: [PATCH] Revert "CS fixes" This reverts commit ff60985e5128a499c5840cae7f20a953ed49119f. --- framework/db/BaseActiveRecord.php | 2 +- framework/db/mssql/Schema.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/framework/db/BaseActiveRecord.php b/framework/db/BaseActiveRecord.php index 761bc2cb994..10021e362cc 100644 --- a/framework/db/BaseActiveRecord.php +++ b/framework/db/BaseActiveRecord.php @@ -1783,7 +1783,7 @@ private function isValueDifferent($newValue, $oldValue) { if (is_array($newValue) && is_array($oldValue)) { // Only sort associative arrays - $sorter = function (&$array) { + $sorter = function(&$array) { if (ArrayHelper::isAssociative($array)) { ksort($array); } diff --git a/framework/db/mssql/Schema.php b/framework/db/mssql/Schema.php index 1b1fb267e51..35908437f48 100644 --- a/framework/db/mssql/Schema.php +++ b/framework/db/mssql/Schema.php @@ -823,4 +823,5 @@ public function createColumnSchemaBuilder($type, $length = null) { return Yii::createObject(ColumnSchemaBuilder::className(), [$type, $length, $this->db]); } + }