Merge branch 'refactor-entrypoint-daemon.php' into refactor-entrypoint-worker.php

This commit is contained in:
Art4 2024-12-26 18:44:15 +00:00
commit 2d1142743e

View file

@ -143,7 +143,7 @@ class App
], ],
]); ]);
$this->setupLegacyServerLocator(); $this->setupLegacyServiceLocator();
$this->registerErrorHandler(); $this->registerErrorHandler();
@ -186,7 +186,7 @@ class App
$this->setupContainerForLogger(LogChannel::AUTH_JABBERED); $this->setupContainerForLogger(LogChannel::AUTH_JABBERED);
$this->setupLegacyServerLocator(); $this->setupLegacyServiceLocator();
$this->registerErrorHandler(); $this->registerErrorHandler();
@ -211,7 +211,7 @@ class App
$this->setupContainerForLogger(LogChannel::CONSOLE); $this->setupContainerForLogger(LogChannel::CONSOLE);
$this->setupLegacyServerLocator(); $this->setupLegacyServiceLocator();
$this->registerErrorHandler(); $this->registerErrorHandler();
@ -226,7 +226,7 @@ class App
$this->setupContainerForLogger(LogChannel::DAEMON); $this->setupContainerForLogger(LogChannel::DAEMON);
$this->setupLegacyServerLocator(); $this->setupLegacyServiceLocator();
$this->registerErrorHandler(); $this->registerErrorHandler();
@ -451,7 +451,7 @@ class App
]); ]);
} }
private function setupLegacyServerLocator(): void private function setupLegacyServiceLocator(): void
{ {
DI::init($this->container); DI::init($this->container);
} }