From e16a3e6192325e34ac5c7a2da423485d3d99ad5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Obreg=C3=B3n?= Date: Tue, 8 Apr 2014 05:55:09 -0500 Subject: [PATCH] Fixed typo in phpDoc for findAll function --- framework/db/ActiveRecordInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/db/ActiveRecordInterface.php b/framework/db/ActiveRecordInterface.php index b7febe9225..63fd40b360 100644 --- a/framework/db/ActiveRecordInterface.php +++ b/framework/db/ActiveRecordInterface.php @@ -209,7 +209,7 @@ interface ActiveRecordInterface * $customers = Customer::find()->where(['id' => [10, 11, 12]])->all(); * * // 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: * $customers = Customer::find()->where(['age' => 30, 'status' => 1])->all();