This commit is contained in:
2021-11-30 15:10:01 +08:00
parent e5b57cbcdb
commit b826e1f594
36 changed files with 155 additions and 81 deletions
+4 -4
View File
@@ -5,7 +5,7 @@ declare(strict_types=1);
namespace Kiri;
use Annotation\Annotation;
use Note\Note;
use Database\Collection;
use Database\ModelInterface;
use Exception;
@@ -156,12 +156,12 @@ class Kiri
/**
* @return Annotation
* @return Note
* @throws Exception
*/
public static function getAnnotation(): Annotation
public static function getNote(): Note
{
return static::app()->getAnnotation();
return static::app()->getNote();
}