Skip to content

Commit

Permalink
Fixes CS
Browse files Browse the repository at this point in the history
  • Loading branch information
Izumi-kun committed Dec 5, 2024
1 parent 1a54384 commit 0d7a3a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion framework/db/BaseActiveRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {

Check warning on line 1786 in framework/db/BaseActiveRecord.php

View check run for this annotation

Codecov / codecov/patch

framework/db/BaseActiveRecord.php#L1786

Added line #L1786 was not covered by tests
if (ArrayHelper::isAssociative($array)) {
ksort($array);
}
Expand Down
1 change: 0 additions & 1 deletion framework/db/mssql/Schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -823,5 +823,4 @@ public function createColumnSchemaBuilder($type, $length = null)
{
return Yii::createObject(ColumnSchemaBuilder::className(), [$type, $length, $this->db]);
}

}

0 comments on commit 0d7a3a9

Please sign in to comment.