Compare commits

...

1 Commits
2.8.9 ... v2

Author SHA1 Message Date
Jerry
d3d64c8f06 fix class empty caused bug 2023-06-13 15:31:51 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -143,7 +143,7 @@ class AnnotationParser
$inserted = [];
// 预处理将Class的ergodic注解拼接到每个方法的注解列表前面且按照顺序修复 #365
foreach ($this->annotation_map[$v]['methods_annotations'] as $method_name => $annos) {
foreach (($this->annotation_map[$v]['methods_annotations'] ?? []) as $method_name => $annos) {
if (isset($append_ergodics[$method_name])) {
$this->annotation_map[$v]['methods_annotations'][$method_name] = array_merge($append_ergodics[$method_name], $annos);
}

View File

@@ -30,7 +30,7 @@ class ConsoleApplication extends Application
{
public const VERSION_ID = 480;
public const VERSION = '2.8.9';
public const VERSION = '2.8.10';
private static $obj;