Skip to content

Commit 3fe52a6

Browse files
authored
Fix when there is no mapping collector defined
1 parent be6307a commit 3fe52a6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/DependencyInjection/JsonRpcHttpServerExtension.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,6 @@ private function binJsonRpcMethods(ContainerBuilder $container) : void
153153
{
154154
$mappingAwareServiceDefinitionList = $this->findAndValidateMappingAwareDefinitionList($container);
155155

156-
if (0 === count($mappingAwareServiceDefinitionList)) {
157-
return;
158-
}
159-
160156
$jsonRpcMethodDefinitionList = (new JsonRpcMethodDefinitionHelper())
161157
->findAndValidateJsonRpcMethodDefinition($container);
162158

0 commit comments

Comments
 (0)