modify plugin name

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