This commit is contained in:
as2252258@163.com
2021-05-03 03:51:13 +08:00
parent 6c75b19844
commit 99b496304a
+1 -1
View File
@@ -34,7 +34,7 @@ use Snowflake\Snowflake;
public function execute(mixed $class, mixed $method = null): mixed
{
$injectValue = $this->parseInjectValue();
if (!($class instanceof ReflectionProperty)) {
if (!($method instanceof ReflectionProperty)) {
$class = new ReflectionProperty($class, $method);
}