This commit is contained in:
2021-11-30 15:14:42 +08:00
parent b826e1f594
commit 048960c572
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ if (!function_exists('workerName')) {
}
if (!function_exists('annotation')) {
if (!function_exists('note')) {
/**
+2 -2
View File
@@ -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],