From 39fa8da5b7c6c3027d794c4734c89f63a3fc2a2c Mon Sep 17 00:00:00 2001 From: Amir Zandieh Date: Tue, 15 Sep 2020 15:55:21 +0430 Subject: [PATCH] change fire method to dispatch --- 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); }