mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-02 14:25:38 +08:00
fix class empty caused bug
This commit is contained in:
@@ -193,7 +193,7 @@ class AnnotationParser
|
||||
}
|
||||
}
|
||||
// 预处理:将Class的ergodic注解拼接到每个方法的注解列表前面,且按照顺序(修复 #365)
|
||||
foreach ($reflection_tree[$v]['methods_annotations'] as $method_name => $annos) {
|
||||
foreach (($reflection_tree[$v]['methods_annotations'] ?? []) as $method_name => $annos) {
|
||||
if (isset($append_ergodics[$method_name])) {
|
||||
$reflection_tree[$v]['methods_annotations'][$method_name] = array_merge($append_ergodics[$method_name], $annos);
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ class Framework
|
||||
public const VERSION_ID = 723;
|
||||
|
||||
/** @var string 版本名称 */
|
||||
public const VERSION = '3.2.3';
|
||||
public const VERSION = '3.2.4';
|
||||
|
||||
/**
|
||||
* @var RuntimePreferences 运行时偏好(环境信息&参数)
|
||||
|
||||
Reference in New Issue
Block a user