Commit 4910343a by Carsten Brandt

Merge pull request #3026 from robregonm/master

Fixed typo in phpDoc for findAll function
parents 3a261ffc e16a3e61
...@@ -209,7 +209,7 @@ interface ActiveRecordInterface ...@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment