mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-24 00:55:35 +08:00
fix ergodic annotation parser, update to 3.1.12
This commit is contained in:
@@ -168,6 +168,8 @@ class AnnotationParser
|
|||||||
array_unshift($reflection_tree[$v]['methods_annotations'][$method->getName()], $copy);
|
array_unshift($reflection_tree[$v]['methods_annotations'][$method->getName()], $copy);
|
||||||
$annotation_list[get_class($vs)][] = $copy;
|
$annotation_list[get_class($vs)][] = $copy;
|
||||||
}
|
}
|
||||||
|
// 标记为 Ergodic 的类注解,不作为类的注解解析,而是全部当作每个方法有注解,所以直接跳过
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 预处理3:调用自定义解析器
|
// 预处理3:调用自定义解析器
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ class Framework
|
|||||||
public const VERSION_ID = 717;
|
public const VERSION_ID = 717;
|
||||||
|
|
||||||
/** @var string 版本名称 */
|
/** @var string 版本名称 */
|
||||||
public const VERSION = '3.1.11';
|
public const VERSION = '3.1.12';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var RuntimePreferences 运行时偏好(环境信息&参数)
|
* @var RuntimePreferences 运行时偏好(环境信息&参数)
|
||||||
|
|||||||
Reference in New Issue
Block a user