Skip to content

Commit

Permalink
Fixed 'Call to undefined method Illuminate\Events\Dispatcher::fire()'…
Browse files Browse the repository at this point in the history
… error
  • Loading branch information
hebinet committed Oct 4, 2019
1 parent c2f730a commit d22d007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Baum/Move.php
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,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 d22d007

Please sign in to comment.