@@ -116,7 +116,7 @@ public function add($id, $name = null, $qty = null, $price = null, array $option
116116
117117 $ content ->put ($ cartItem ->rowId , $ cartItem );
118118
119- $ this ->events ->fire ('cart.added ' , $ cartItem );
119+ $ this ->events ->dispatch ('cart.added ' , $ cartItem );
120120
121121 $ this ->session ->put ($ this ->instance , $ content );
122122
@@ -190,7 +190,7 @@ public function update($rowId, $qty)
190190 $ content ->put ($ cartItem ->rowId , $ cartItem );
191191 }
192192
193- $ this ->events ->fire ('cart.updated ' , $ cartItem );
193+ $ this ->events ->dispatch ('cart.updated ' , $ cartItem );
194194
195195 $ this ->session ->put ($ this ->instance , $ content );
196196
@@ -211,7 +211,7 @@ public function remove($rowId)
211211
212212 $ content ->pull ($ cartItem ->rowId );
213213
214- $ this ->events ->fire ('cart.removed ' , $ cartItem );
214+ $ this ->events ->dispatch ('cart.removed ' , $ cartItem );
215215
216216 $ this ->session ->put ($ this ->instance , $ content );
217217 }
@@ -408,7 +408,7 @@ public function store($identifier)
408408 'content ' => serialize ($ content )
409409 ]);
410410
411- $ this ->events ->fire ('cart.stored ' );
411+ $ this ->events ->dispatch ('cart.stored ' );
412412 }
413413
414414 /**
@@ -438,7 +438,7 @@ public function restore($identifier)
438438 $ content ->put ($ cartItem ->rowId , $ cartItem );
439439 }
440440
441- $ this ->events ->fire ('cart.restored ' );
441+ $ this ->events ->dispatch ('cart.restored ' );
442442
443443 $ this ->session ->put ($ this ->instance , $ content );
444444
0 commit comments