From 29779d4226db03983fd487304a6a1060854e7225 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Mon, 3 May 2021 03:51:49 +0800 Subject: [PATCH] modify --- Annotation/Inject.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Annotation/Inject.php b/Annotation/Inject.php index d61115fe..656aa8df 100644 --- a/Annotation/Inject.php +++ b/Annotation/Inject.php @@ -35,7 +35,7 @@ use Snowflake\Snowflake; { $injectValue = $this->parseInjectValue(); if (!($method instanceof ReflectionProperty)) { - $class = new ReflectionProperty($class, $method); + $method = new ReflectionProperty($class, $method); } /** @var ReflectionProperty $class */