diff --git a/Annotation/Get.php b/Annotation/Get.php index fbc7bb1..6e99254 100644 --- a/Annotation/Get.php +++ b/Annotation/Get.php @@ -26,14 +26,11 @@ use Exception; } - /** - * @param static $params - * @param mixed $class - * @param mixed|null $method - * @return bool - * @throws \Kiri\Exception\NotFindClassException - * @throws \ReflectionException - */ + /** + * @param mixed $class + * @param mixed|null $method + * @return bool + */ public function execute(mixed $class, mixed $method = null): bool { di(Getter::class)->addGetter($this->name, $class, $method); diff --git a/Annotation/Set.php b/Annotation/Set.php index 77062a0..821c628 100644 --- a/Annotation/Set.php +++ b/Annotation/Set.php @@ -21,14 +21,11 @@ use Exception; } - /** - * @param static $params - * @param mixed $class - * @param mixed|null $method - * @return bool - * @throws \Kiri\Exception\NotFindClassException - * @throws \ReflectionException - */ + /** + * @param mixed $class + * @param mixed|null $method + * @return bool + */ public function execute(mixed $class, mixed $method = null): bool { di(Setter::class)->addSetter($this->name, $class, $method); diff --git a/Base/Getter.php b/Base/Getter.php index fdcc484..e54d683 100644 --- a/Base/Getter.php +++ b/Base/Getter.php @@ -15,6 +15,7 @@ class Getter */ public function addGetter($name, $class, $method) { + var_dump($name, $class); $this->_classMapping[$class][$name] = $method; }