From dc6f04d4a62df69f385e061521ea65bc58acb899 Mon Sep 17 00:00:00 2001 From: Luciano Baraglia Date: Tue, 22 Oct 2013 04:53:33 -0300 Subject: [PATCH] Docs typo [skip ci] --- docs/guide/active-record.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/active-record.md b/docs/guide/active-record.md index e0d16c9..90826b0 100644 --- a/docs/guide/active-record.md +++ b/docs/guide/active-record.md @@ -202,7 +202,7 @@ class Customer extends \yii\db\ActiveRecord { public function getOrders() { - return $this->hasMany(Order::className, ['customer_id' => 'id']); + return $this->hasMany(Order::className(), ['customer_id' => 'id']); } }