diff --git a/composer.json b/composer.json index 49505a5b..84654d7b 100644 --- a/composer.json +++ b/composer.json @@ -13,15 +13,15 @@ ], "require": { "php": ">=5.4.0", - "illuminate/console": "5.*", - "illuminate/database": "5.*", - "illuminate/events": "5.*", - "illuminate/filesystem": "5.*", - "illuminate/support": "5.*" + "illuminate/console": "8.*", + "illuminate/database": "8.*", + "illuminate/events": "8.*", + "illuminate/filesystem": "8.*", + "illuminate/support": "8.*" }, "require-dev": { - "phpunit/phpunit": "~4.0", - "mockery/mockery": "~0.9", + "phpunit/phpunit": "^8.0", + "mockery/mockery": "^1.0", "d11wtq/boris": "~1.0.10" }, "autoload": { 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); }