diff --git a/docs/guide/intro-upgrade-from-v1.md b/docs/guide/intro-upgrade-from-v1.md index c74085008f..6f90e1c794 100644 --- a/docs/guide/intro-upgrade-from-v1.md +++ b/docs/guide/intro-upgrade-from-v1.md @@ -443,7 +443,7 @@ records by filtering with the primary keys of the primary records. Instead of returning [[yii\db\ActiveRecord|ActiveRecord]] objects, you may chain the [[yii\db\ActiveQuery::asArray()|asArray()]] method when building a query to return a large number of records. This will cause the query result to be returned -as arrays, which can significantly reduce the needed CPU time and memory if large number of records . For example, +as arrays, which can significantly reduce the needed CPU time and memory if large number of records . For example: ```php $customers = Customer::find()->asArray()->all();