From e54ac1ed398083cd242b8282dccf7df68eea8404 Mon Sep 17 00:00:00 2001 From: as2252258 Date: Sat, 9 Jul 2022 23:48:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kiri-annotation/AbstractAttribute.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/kiri-annotation/AbstractAttribute.php b/kiri-annotation/AbstractAttribute.php index 3b5a7086..bcbd5080 100644 --- a/kiri-annotation/AbstractAttribute.php +++ b/kiri-annotation/AbstractAttribute.php @@ -14,10 +14,10 @@ abstract class AbstractAttribute implements IAnnotation { - protected object $class; + protected object $_class; - protected string $method; + protected string $_method; /** @@ -37,7 +37,7 @@ abstract class AbstractAttribute implements IAnnotation */ public function getClass(): object { - return $this->class; + return $this->_class; } /** @@ -45,7 +45,7 @@ abstract class AbstractAttribute implements IAnnotation */ public function setClass(object $class): void { - $this->class = $class; + $this->_class = $class; } /** @@ -53,7 +53,7 @@ abstract class AbstractAttribute implements IAnnotation */ public function getMethod(): string { - return $this->method; + return $this->_method; } /** @@ -61,7 +61,7 @@ abstract class AbstractAttribute implements IAnnotation */ public function setMethod(string $method): void { - $this->method = $method; + $this->_method = $method; }