Skip to content

使用加号导致的BUG #30

@FeiLiao-9

Description

@FeiLiao-9

$namespaces = ['app\\'] + $this->app->config->get('annotation.inject.namespaces', []);

需要注意的是,如果两个数组中存在相同的键名,那么“+”符号运算符会忽略掉第二个数组中的元素

在config中新增的配置是无法生效的

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions