Merge pull request #3026 from robregonm/master

Fixed typo in phpDoc for findAll function
This commit is contained in:
Carsten Brandt
2014-04-08 13:11:00 +02:00

View File

@@ -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();