From f9961ed8676c7ae122366cedd30e936987124942 Mon Sep 17 00:00:00 2001 From: Mikhail Volkov Date: Thu, 4 Apr 2019 17:10:49 +0300 Subject: [PATCH] Laravel 5.8 Fix --- src/Baum/Move.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Baum/Move.php b/src/Baum/Move.php index 8abed059..5bd0f35f 100644 --- a/src/Baum/Move.php +++ b/src/Baum/Move.php @@ -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); }