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