diff --git a/src/Aop/Annotation/ConstValue.php b/src/Aop/Annotation/ConstValue.php index 51b4acd448..cff0331e5a 100644 --- a/src/Aop/Annotation/ConstValue.php +++ b/src/Aop/Annotation/ConstValue.php @@ -23,14 +23,14 @@ class ConstValue extends BaseInjectValue protected $defaultFieldName = 'name'; /** - * 配置名,支持@app、@currentServer等用法 + * 常量名 * * @var string */ public $name; /** - * 配置不存在时,返回的默认值 + * 常量不存在时,返回的默认值 * * @var mixed */ diff --git a/src/Aop/Annotation/Inject.php b/src/Aop/Annotation/Inject.php index 2d0cd5c26f..e9d59ed474 100644 --- a/src/Aop/Annotation/Inject.php +++ b/src/Aop/Annotation/Inject.php @@ -5,7 +5,7 @@ use Imi\Bean\Annotation\Parser; /** - * 属性注入 + * 对象注入 * 使用:App::getBean() * @Annotation * @Target({"PROPERTY", "ANNOTATION"}) diff --git a/src/Util/ArrayList.php b/src/Util/ArrayList.php index cdcbf2a890..c82479dba4 100644 --- a/src/Util/ArrayList.php +++ b/src/Util/ArrayList.php @@ -3,6 +3,9 @@ use Imi\Util\Interfaces\IArrayable; +/** + * 限定成员类型的数组列表 + */ class ArrayList implements \Iterator, \ArrayAccess, IArrayable, \JsonSerializable { /**