mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-10-31 10:39:59 +08:00 
			
		
		
		
	CS fixes
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,5 +823,4 @@ 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
	 Tim Kelty
					Tim Kelty