modify plugin name
This commit is contained in:
@@ -145,7 +145,7 @@ class Kiri
|
||||
*/
|
||||
public static function getAnnotation(): Annotation
|
||||
{
|
||||
return static::app()->getAnnotation();
|
||||
return static::getDi()->get(Annotation::class);
|
||||
}
|
||||
|
||||
|
||||
@@ -311,15 +311,6 @@ class Kiri
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
* @throws Exception
|
||||
*/
|
||||
public static function reload(): mixed
|
||||
{
|
||||
return Kiri::app()->getSwoole()->reload();
|
||||
}
|
||||
|
||||
|
||||
const PROCESS = 'process';
|
||||
const TASK = 'task';
|
||||
|
||||
Reference in New Issue
Block a user