From 287abbfacfbbd62c88adff1dec276ae1d7ced104 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 17 Feb 2022 18:41:48 +0800 Subject: [PATCH] modify plugin name --- Container.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Container.php b/Container.php index 0bb8c37..39163d2 100644 --- a/Container.php +++ b/Container.php @@ -307,6 +307,9 @@ class Container implements ContainerInterface */ public function getMethodParameters(string $className, string $method): ?array { + $reflectMethod = $this->getReflectMethod($this->getReflect($className), $method); + + return $this->resolveMethodParameters($reflectMethod); if (isset($this->_parameters[$className]) && isset($this->_parameters[$className][$method])) { return $this->_parameters[$className][$method]; }