Skip to content

Commit

Permalink
event重构
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangjincheng committed Jun 3, 2019
1 parent 7e0c672 commit bc23bff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/Order/OrderOwnerTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ trait OrderOwnerTrait
public function addOrder(Order $order)
{
$this->fixed = false;
$this->orderList[] = $order;
$this->orderList[$order->getName()] = $order;
$this->orderClassList[get_class($order)] = $order;
}

Expand Down

0 comments on commit bc23bff

Please sign in to comment.