This commit is contained in:
xl
2023-05-20 23:05:38 +08:00
parent de2698ee12
commit d72ff2f82c
7 changed files with 183 additions and 163 deletions
+2 -3
View File
@@ -2,10 +2,9 @@
namespace Kiri\Rpc;
use JetBrains\PhpStorm\ArrayShape;
use Kiri\Annotation\Inject;
use Kiri\Core\Json;
use Kiri\Core\Number;
use Kiri\Di\Inject\Container;
abstract class AbstractRpcClient
{
@@ -20,7 +19,7 @@ abstract class AbstractRpcClient
/**
* @var JsonRpcTransporterInterface
*/
#[Inject(JsonRpcTransporterInterface::class)]
#[Container(JsonRpcTransporterInterface::class)]
private JsonRpcTransporterInterface $transporter;