mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-07 10:32:48 +08:00
更新注解版本
This commit is contained in:
@@ -30,4 +30,11 @@ return [
|
||||
'可以运行 php think admin:update:code --update-version v2.0.74 命令自动替换',
|
||||
],
|
||||
],
|
||||
[
|
||||
'version' => 'v2.0.100',
|
||||
'desc' => [
|
||||
'本次更新了注解的版本,修复了节点更新的bug,请手动更新注解库,可执行以下命令:',
|
||||
'composer require "doctrine/annotations:2.*"',
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
@@ -60,7 +60,6 @@ class NodeBase
|
||||
list($nodeList, $controllerList) = [[], $this->getControllerList()];
|
||||
|
||||
if (!empty($controllerList)) {
|
||||
AnnotationRegistry::registerLoader('class_exists');
|
||||
$parser = new DocParser();
|
||||
$parser->setIgnoreNotImportedAnnotations(true);
|
||||
$reader = new AnnotationReader($parser);
|
||||
|
||||
Reference in New Issue
Block a user