This commit is contained in:
2023-04-16 02:15:51 +08:00
parent 5ec3fed09d
commit a6d2d97fb5
8 changed files with 37 additions and 55 deletions
+2 -4
View File
@@ -4,12 +4,10 @@
namespace Kiri\Server\Abstracts;
use Kiri\Annotation\Inject;
use Exception;
use Kiri\Abstracts\Config;
use Kiri\Exception\ConfigException;
use Kiri;
use Psr\Log\LoggerInterface;
use Kiri\Di\Inject\Container;
/**
@@ -23,7 +21,7 @@ abstract class Server
/**
* @var LoggerInterface
*/
#[Inject(LoggerInterface::class)]
#[Container(LoggerInterface::class)]
public LoggerInterface $logger;