Skip to content

Commit

Permalink
Merge pull request #5 from ipublikuj/nette30
Browse files Browse the repository at this point in the history
BUG: Fixing typo
  • Loading branch information
akadlec committed Nov 15, 2019
2 parents e62bc89 + d54bb89 commit 1da851b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions src/IPub/MQTTClient/DI/MQTTClientExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ final class MQTTClientExtension extends DI\CompilerExtension
* @var array
*/
private $defaults = [
'broker' => [
'broker' => [
'httpHost' => NULL,
'port' => 1883,
'address' => NULL,
Expand All @@ -65,17 +65,17 @@ final class MQTTClientExtension extends DI\CompilerExtension
'sslSettings' => [],
],
],
'connection' => [
'connection' => [
'username' => '',
'password' => '',
'clientID' => '',
'keepAlive' => 60,
'protocol' => 4,
'clean' => TRUE,
],
'loop' => NULL,
'console' => FALSE,
'symfonyEvets' => FALSE,
'loop' => NULL,
'console' => FALSE,
'symfonyEvents' => FALSE,
];

/**
Expand Down Expand Up @@ -171,7 +171,7 @@ public function beforeCompile()
// Get container builder
$builder = $this->getContainerBuilder();

if ($configuration['symfonyEvets'] === TRUE) {
if ($configuration['symfonyEvents'] === TRUE) {
$dispatcher = $builder->getDefinition($builder->getByType(EventDispatcher\EventDispatcherInterface::class));

$client = $builder->getDefinition($builder->getByType(Client\Client::class));
Expand Down
2 changes: 1 addition & 1 deletion tests/IPubTests/MQTTClient/files/config.neon
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ extensions:

mqttClient:
console: true
symfonyEvets: true
symfonyEvents: true

console:
name: iPublikuj:Packages!
Expand Down
2 changes: 1 addition & 1 deletion tests/IPubTests/MQTTClient/files/config24.neon
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ extensions:

mqttClient:
console: true
symfonyEvets: true
symfonyEvents: true

console:
name: iPublikuj:Packages!
Expand Down

0 comments on commit 1da851b

Please sign in to comment.