Skip to content

Commit 1964f5b

Browse files
authored
Use default normalizer for rpc-multiplex and use protocol.normalizer for rpc-server. (#5513)
1 parent 38029c2 commit 1964f5b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Listener/RegisterProtocolListener.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use Hyperf\Event\Contract\ListenerInterface;
1515
use Hyperf\Framework\Event\BootApplication;
16-
use Hyperf\JsonRpc\JsonRpcNormalizer;
1716
use Hyperf\Rpc\ProtocolManager;
1817
use Hyperf\RpcMultiplex\Constant;
1918
use Hyperf\RpcMultiplex\DataFormatter;
@@ -45,7 +44,6 @@ public function process(object $event): void
4544
'transporter' => Transporter::class,
4645
'path-generator' => PathGenerator::class,
4746
'data-formatter' => DataFormatter::class,
48-
'normalizer' => JsonRpcNormalizer::class,
4947
]);
5048
}
5149
}

0 commit comments

Comments
 (0)