diff --git a/src/IPub/MQTTClient/DI/MQTTClientExtension.php b/src/IPub/MQTTClient/DI/MQTTClientExtension.php index 0957390..84ffda5 100644 --- a/src/IPub/MQTTClient/DI/MQTTClientExtension.php +++ b/src/IPub/MQTTClient/DI/MQTTClientExtension.php @@ -112,7 +112,7 @@ public function loadConfiguration() $configuration['connection']['clean'] ); - $configuration = new Client\Configuration( + $clientConfiguration = new Client\Configuration( $configuration['broker']['httpHost'], $configuration['broker']['port'], $configuration['broker']['address'], @@ -132,7 +132,7 @@ public function loadConfiguration() ->setType(Client\Client::class) ->setArguments([ 'eventLoop' => $loop, - 'configuration' => $configuration, + 'configuration' => $clientConfiguration, ]); if ($configuration['console'] === NULL) {