This commit is contained in:
2023-04-16 12:49:55 +08:00
parent e9f3499f2f
commit 2877f3faa5
4 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ class ContainerParams implements InjectParameterInterface
* @return mixed|null
* @throws \Exception
*/
public function dispatch(object $class, string $method): mixed
public function dispatch(string $class, string $method): mixed
{
return Container::instance()->get($this->value);
}