diff --git a/function.php b/function.php index dc5d905f..7d28cc55 100644 --- a/function.php +++ b/function.php @@ -176,7 +176,7 @@ if (!function_exists('workerName')) { } -if (!function_exists('annotation')) { +if (!function_exists('note')) { /** diff --git a/kiri-engine/Abstracts/BaseApplication.php b/kiri-engine/Abstracts/BaseApplication.php index 15365fb0..2d5e8752 100644 --- a/kiri-engine/Abstracts/BaseApplication.php +++ b/kiri-engine/Abstracts/BaseApplication.php @@ -397,7 +397,7 @@ abstract class BaseApplication extends Component */ public function getNote(): SNote { - return $this->get('annotation'); + return $this->get('note'); } @@ -450,7 +450,7 @@ abstract class BaseApplication extends Component 'error' => ['class' => ErrorHandler::class], 'config' => ['class' => Config::class], 'logger' => ['class' => Logger::class], - 'annotation' => ['class' => SNote::class], + 'note' => ['class' => SNote::class], 'databases' => ['class' => Connection::class], 'jwt' => ['class' => Jwt::class], 'async' => ['class' => Async::class],