mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-17 14:57:23 +08:00
code style. FOREACH
This commit is contained in:
@@ -120,7 +120,7 @@ class ActiveQuery extends Query implements ActiveQueryInterface
|
||||
$this->findWith($this->with, $models);
|
||||
}
|
||||
if (!$this->asArray) {
|
||||
foreach($models as $model) {
|
||||
foreach ($models as $model) {
|
||||
$model->afterFind();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user