Skip to content

Commit

Permalink
- Fixing config
Browse files Browse the repository at this point in the history
  • Loading branch information
akadlec committed Nov 10, 2019
1 parent acd8f9a commit 4c06c9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/IPub/MQTTClient/DI/MQTTClientExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand All @@ -132,7 +132,7 @@ public function loadConfiguration()
->setType(Client\Client::class)
->setArguments([
'eventLoop' => $loop,
'configuration' => $configuration,
'configuration' => $clientConfiguration,
]);

if ($configuration['console'] === NULL) {
Expand Down

0 comments on commit 4c06c9f

Please sign in to comment.