mirror of
https://github.com/yiisoft/yii2.git
synced 2025-10-29 17:48:15 +08:00
Fixed code style
This commit is contained in:
@ -525,7 +525,7 @@ trait ActiveRelationTrait
|
||||
if (($value = $model[$attribute]) !== null) {
|
||||
if (is_array($value)) {
|
||||
$values = array_merge($values, $value);
|
||||
} elseif($value instanceof ArrayExpression && $value->getDimension() === 1) {
|
||||
} elseif ($value instanceof ArrayExpression && $value->getDimension() === 1) {
|
||||
$values = array_merge($values, $value->getValue());
|
||||
} else {
|
||||
$values[] = $value;
|
||||
|
||||
Reference in New Issue
Block a user