diff --git a/app/Listener/DbQueryExecutedListener.php b/app/Listener/DbQueryExecutedListener.php index fa2d5637..df3adeb0 100644 --- a/app/Listener/DbQueryExecutedListener.php +++ b/app/Listener/DbQueryExecutedListener.php @@ -43,7 +43,7 @@ public function listen(): array /** * @param QueryExecuted $event */ - public function process(object $event) + public function process(object $event): void { if ($event instanceof QueryExecuted) { $sql = $event->sql; diff --git a/installer/resources/async_queue/QueueHandleListener.php b/installer/resources/async_queue/QueueHandleListener.php index ba937295..d81c3bda 100644 --- a/installer/resources/async_queue/QueueHandleListener.php +++ b/installer/resources/async_queue/QueueHandleListener.php @@ -43,7 +43,7 @@ public function listen(): array ]; } - public function process(object $event) + public function process(object $event): void { if ($event instanceof Event && $event->message->job()) { $job = $event->message->job();