mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-16 06:17:56 +08:00
Merge pull request #3026 from robregonm/master
Fixed typo in phpDoc for findAll function
This commit is contained in:
@@ -209,7 +209,7 @@ interface ActiveRecordInterface
|
|||||||
* $customers = Customer::find()->where(['id' => [10, 11, 12]])->all();
|
* $customers = Customer::find()->where(['id' => [10, 11, 12]])->all();
|
||||||
*
|
*
|
||||||
* // find customers whose age is 30 and whose status is 1
|
* // find customers whose age is 30 and whose status is 1
|
||||||
* $customers = Customer::findOne(['age' => 30, 'status' => 1]);
|
* $customers = Customer::findAll(['age' => 30, 'status' => 1]);
|
||||||
*
|
*
|
||||||
* // the above code is equivalent to:
|
* // the above code is equivalent to:
|
||||||
* $customers = Customer::find()->where(['age' => 30, 'status' => 1])->all();
|
* $customers = Customer::find()->where(['age' => 30, 'status' => 1])->all();
|
||||||
|
|||||||
Reference in New Issue
Block a user