external account client manager using factory

This commit is contained in:
Yuri Kuznetsov
2025-10-02 15:55:47 +03:00
parent b2a4f80408
commit ebec204d3a

View File

@@ -248,10 +248,8 @@ class ClientManager
$params[$k] = $v;
}
$client = new $className($oauth2Client, $params, $this);
if ($this->injectableFactory) {
$this->injectableFactory->createWith($className, [
$client = $this->injectableFactory->createWith($className, [
'client' => $oauth2Client,
'params' => $params,
'manager' => $this,