modify plugin name

This commit is contained in:
2022-06-16 18:54:15 +08:00
parent c96db92b5b
commit 2dac0fa9af
+1 -5
View File
@@ -314,11 +314,7 @@ class Container implements ContainerInterface
if (!($reflectMethod instanceof ReflectionMethod)) {
throw new ReflectionException("Class does not have a function $className::$method");
}
$className = $reflectMethod->getDeclaringClass()->getName();
if (!isset($this->_parameters[$className]) || !isset($this->_parameters[$className][$method])) {
return $this->setParameters($className, $method, $this->resolveParameters($reflectMethod));
}
return $this->_parameters[$className][$method];
return $this->setParameters($className, $method, $this->resolveParameters($reflectMethod));
}