Skip to content

Commit

Permalink
Revert "CS fixes"
Browse files Browse the repository at this point in the history
This reverts commit ff60985.
  • Loading branch information
timkelty committed Aug 25, 2024
1 parent ff60985 commit 2d38497
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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 failure on line 1786 in framework/db/BaseActiveRecord.php

View workflow job for this annotation

GitHub Actions / PHP_CodeSniffer

Expected 1 space after FUNCTION keyword; 0 found
if (ArrayHelper::isAssociative($array)) {
ksort($array);
}
Expand Down
1 change: 1 addition & 0 deletions framework/db/mssql/Schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -823,4 +823,5 @@ public function createColumnSchemaBuilder($type, $length = null)
{
return Yii::createObject(ColumnSchemaBuilder::className(), [$type, $length, $this->db]);
}

}

Check failure on line 827 in framework/db/mssql/Schema.php

View workflow job for this annotation

GitHub Actions / PHP_CodeSniffer

The closing brace for the class must go on the next line after the body

0 comments on commit 2d38497

Please sign in to comment.