修复命名不规范

This commit is contained in:
JaguarJack 2020-04-17 06:48:14 +08:00
parent f1f3df2bc8
commit f777816e18

View File

@ -40,7 +40,7 @@ class CatchAdminService extends Service
$this->registerCommands(); $this->registerCommands();
$this->registerValidates(); $this->registerValidates();
$this->registerMiddleWares(); $this->registerMiddleWares();
$this->registerListeners(); $this->registerEvents();
$this->registerQuery(); $this->registerQuery();
$this->registerExceptionHandle(); $this->registerExceptionHandle();
} }
@ -99,7 +99,7 @@ class CatchAdminService extends Service
* @time 2019年12月12日 * @time 2019年12月12日
* @return void * @return void
*/ */
protected function registerListeners(): void protected function registerEvents(): void
{ {
$this->app->event->listenEvents(config('catch.events')); $this->app->event->listenEvents(config('catch.events'));
} }