Browse Source

Docs typo [skip ci]

tags/2.0.0-beta
Luciano Baraglia 11 years ago
parent
commit
dc6f04d4a6
  1. 2
      docs/guide/active-record.md

2
docs/guide/active-record.md

@ -202,7 +202,7 @@ class Customer extends \yii\db\ActiveRecord
{ {
public function getOrders() public function getOrders()
{ {
return $this->hasMany(Order::className, ['customer_id' => 'id']); return $this->hasMany(Order::className(), ['customer_id' => 'id']);
} }
} }

Loading…
Cancel
Save