Commit 544243d5 by Thiago Talma

Update ActiveRelationTrait.php

parent a4809bca
......@@ -86,7 +86,7 @@ trait ActiveRelationTrait
* public function getOrderItems()
* {
* return $this->hasMany(Item::className(), ['id' => 'item_id'])
* ->via('orders', ['order_id' => 'id']);
* ->via('orders');
* }
* ```
*
......
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