mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-22 16:15:34 +08:00
fix ergodic annotation order, update to 3.1.11
This commit is contained in:
@@ -165,7 +165,7 @@ class AnnotationParser
|
|||||||
// 用 clone 的目的是生成个独立的对象,避免和 class 以及方法之间互相冲突
|
// 用 clone 的目的是生成个独立的对象,避免和 class 以及方法之间互相冲突
|
||||||
$copy = clone $vs;
|
$copy = clone $vs;
|
||||||
$copy->method = $method->getName();
|
$copy->method = $method->getName();
|
||||||
$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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ class Framework
|
|||||||
public const VERSION_ID = 716;
|
public const VERSION_ID = 716;
|
||||||
|
|
||||||
/** @var string 版本名称 */
|
/** @var string 版本名称 */
|
||||||
public const VERSION = '3.1.10';
|
public const VERSION = '3.1.11';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var RuntimePreferences 运行时偏好(环境信息&参数)
|
* @var RuntimePreferences 运行时偏好(环境信息&参数)
|
||||||
|
|||||||
Reference in New Issue
Block a user