Skip to content
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.

Commit

Permalink
Laravel 5.8 compatibility (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuimz authored and darthsoup committed Apr 9, 2019
1 parent 69bbcd9 commit a7f5155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Move.php
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ protected function fireMoveEvent($event, $halt = true)
// but we relay the event into the node instance.
$event = "eloquent.{$event}: ".get_class($this->node);

$method = $halt ? 'until' : 'fire';
$method = $halt ? 'until' : 'dispatch';

return static::$dispatcher->$method($event, $this->node);
}
Expand Down

0 comments on commit a7f5155

Please sign in to comment.