Skip to content

Commit

Permalink
Change deleted to deleting event in PositionObserver
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubdibala authored and pionl committed Jul 7, 2021
1 parent 1633ae5 commit 89043bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PositionObserver.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function saving($model)
*
* @param Model|PositionTrait $model
*/
public function deleted($model)
public function deleting($model)
{
if ($model->isPositionUpdateDisabled() === false) {
// Get the old position
Expand Down

0 comments on commit 89043bf

Please sign in to comment.