Compare commits

...

2 Commits

Author SHA1 Message Date
crazywhalecc
6c40febe42 fix ergodic annotation parser, update to 3.1.12 2023-05-24 21:43:02 +08:00
crazywhalecc
40584891d5 update changelog 2023-05-24 12:40:42 +00:00
3 changed files with 11 additions and 1 deletions

View File

@@ -2,6 +2,14 @@
> 本页面由框架命令 `./zhamao generate:text update-log-md` 自动生成
## v3.1.11
> 更新时间2023-05-24
* 修复类名全类适用注解排序问题(类名注解应靠前) by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#356](https://github.com/zhamao-robot/zhamao-framework/pull/356)
**源码变更记录**: <https://github.com/zhamao-robot/zhamao-framework/compare/3.1.10...3.1.11>
## v3.1.10
> 更新时间2023-05-20

View File

@@ -168,6 +168,8 @@ class AnnotationParser
array_unshift($reflection_tree[$v]['methods_annotations'][$method->getName()], $copy);
$annotation_list[get_class($vs)][] = $copy;
}
// 标记为 Ergodic 的类注解,不作为类的注解解析,而是全部当作每个方法有注解,所以直接跳过
continue;
}
// 预处理3调用自定义解析器

View File

@@ -50,7 +50,7 @@ class Framework
public const VERSION_ID = 717;
/** @var string 版本名称 */
public const VERSION = '3.1.11';
public const VERSION = '3.1.12';
/**
* @var RuntimePreferences 运行时偏好(环境信息&参数)