fix ergodic annotation order, update to 3.1.11

This commit is contained in:
crazywhalecc 2023-05-24 01:30:55 +08:00 committed by Jerry Ma
parent 50f2060160
commit 8fe6806e20
2 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@ class AnnotationParser
// 用 clone 的目的是生成个独立的对象,避免和 class 以及方法之间互相冲突
$copy = clone $vs;
$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;
}
}

View File

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