改名
This commit is contained in:
@@ -48,7 +48,7 @@ class Application extends BaseApplication
|
||||
/**
|
||||
* @throws NotFindClassException
|
||||
*/
|
||||
#[Aspect(InjectProperty::class)] public function init()
|
||||
public function init()
|
||||
{
|
||||
$this->import(ConsoleProviders::class);
|
||||
$this->import(DatabasesProviders::class);
|
||||
|
||||
@@ -38,7 +38,7 @@ class Redis extends Component
|
||||
/**
|
||||
* @throws Exception
|
||||
*/
|
||||
#[Aspect(InjectProperty::class)] public function init()
|
||||
public function init()
|
||||
{
|
||||
$event = Snowflake::app()->getEvent();
|
||||
$event->on(Event::SYSTEM_RESOURCE_CLEAN, [$this, 'destroy']);
|
||||
|
||||
+1
-1
@@ -81,7 +81,7 @@ mlAZUEjsoaT9vjvjGTxl3uCm0TX5KTgtSJIt2kA1tYVjQef+/iZTHxY=
|
||||
/**
|
||||
* @throws ConfigException
|
||||
*/
|
||||
#[Aspect(InjectProperty::class)] public function init()
|
||||
public function init()
|
||||
{
|
||||
if (!Config::has('ssl.public') || !Config::has('ssl.private')) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user