mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-17 12:44:51 +08:00
update to 3.2.2, fix ergodic annotation order
This commit is contained in:
parent
cee9b71a3f
commit
56b21fc155
@ -165,7 +165,7 @@ class AnnotationParser
|
||||
// 用 clone 的目的是生成个独立的对象,避免和 class 以及方法之间互相冲突
|
||||
$copy = clone $vs;
|
||||
$copy->method = $method->getName();
|
||||
array_unshift($reflection_tree[$v]['methods_annotations'][$method->getName()], $copy);
|
||||
$reflection_tree[$v]['methods_annotations'][$method->getName()][] = $copy;
|
||||
$annotation_list[get_class($vs)][] = $copy;
|
||||
}
|
||||
// 标记为 Ergodic 的类注解,不作为类的注解解析,而是全部当作每个方法有注解,所以直接跳过
|
||||
|
||||
@ -50,7 +50,7 @@ class Framework
|
||||
public const VERSION_ID = 722;
|
||||
|
||||
/** @var string 版本名称 */
|
||||
public const VERSION = '3.2.1';
|
||||
public const VERSION = '3.2.2';
|
||||
|
||||
/**
|
||||
* @var RuntimePreferences 运行时偏好(环境信息&参数)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user