From f777816e18a7e6eaf662fe744d0e668ecc329e7d Mon Sep 17 00:00:00 2001 From: JaguarJack Date: Fri, 17 Apr 2020 06:48:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=91=BD=E5=90=8D=E4=B8=8D?= =?UTF-8?q?=E8=A7=84=E8=8C=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/catcher/CatchAdminService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extend/catcher/CatchAdminService.php b/extend/catcher/CatchAdminService.php index 9b0e057..a150eb7 100644 --- a/extend/catcher/CatchAdminService.php +++ b/extend/catcher/CatchAdminService.php @@ -40,7 +40,7 @@ class CatchAdminService extends Service $this->registerCommands(); $this->registerValidates(); $this->registerMiddleWares(); - $this->registerListeners(); + $this->registerEvents(); $this->registerQuery(); $this->registerExceptionHandle(); } @@ -99,7 +99,7 @@ class CatchAdminService extends Service * @time 2019年12月12日 * @return void */ - protected function registerListeners(): void + protected function registerEvents(): void { $this->app->event->listenEvents(config('catch.events')); }