Skip to content

Commit

Permalink
fix AmqpConnectionService def (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mararok authored Jan 16, 2020
1 parent 8a632f7 commit f14f330
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/SAREhub/Client/DI/Amqp/AmqpDefinitionsBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ protected abstract static function getMessageSenderExchange(): string;

protected static function connectionServiceDef()
{
$def = autowire(AmqpConnectionService::class)
->method("addChannel", get(AmqpChannelWrapper::class));
return BasicLoggingDefinitions::inject($def, "Amqp.ConnectionService");
return BasicLoggingDefinitions::inject(autowire(AmqpConnectionService::class), "Amqp.ConnectionService");
}
}

0 comments on commit f14f330

Please sign in to comment.