This commit is contained in:
xl
2023-11-16 23:50:06 +08:00
parent a0354a9d94
commit 5ed5ee5ca9
3 changed files with 14 additions and 17 deletions
+3 -2
View File
@@ -13,6 +13,7 @@ namespace Kiri\Abstracts;
use Exception;
use JetBrains\PhpStorm\Pure;
use Kiri;
use Kiri\Error\StdoutLogger;
use ReflectionException;
/**
@@ -49,10 +50,10 @@ class Component implements Configure
/**
* @return Kiri\Error\StdoutLogger
* @return StdoutLogger
* @throws ReflectionException
*/
public function getLogger(): Kiri\Error\StdoutLogger
public function getLogger(): StdoutLogger
{
return Kiri::getLogger();
}