Commit 40031b98 by Carsten Brandt

Merge pull request #1040 from lucianobaraglia/master

Docs typo [skip ci]
parents fb8e8182 dc6f04d4
......@@ -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']);
}
}
......
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