@@ -18,14 +18,9 @@ |
||
| 18 | 18 | |
| 19 | 19 | use Nette; |
| 20 | 20 | use Nette\DI; |
| 21 | -use Nette\PhpGenerator as Code; |
|
| 22 | - |
|
| 23 | 21 | use BinSoul\Net\Mqtt; |
| 24 | - |
|
| 25 | 22 | use React; |
| 26 | - |
|
| 27 | 23 | use Psr\Log; |
| 28 | - |
|
| 29 | 24 | use IPub\MQTTClient; |
| 30 | 25 | use IPub\MQTTClient\Client; |
| 31 | 26 | use IPub\MQTTClient\Commands; |
@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | * @date 12.03.17 |
| 13 | 13 | */ |
| 14 | 14 | |
| 15 | -declare(strict_types = 1); |
|
| 15 | +declare(strict_types=1); |
|
| 16 | 16 | |
| 17 | 17 | namespace IPub\MQTTClient\DI; |
| 18 | 18 | |
@@ -142,7 +142,7 @@ discard block |
||
| 142 | 142 | ]; |
| 143 | 143 | |
| 144 | 144 | foreach ($commands as $name => $cmd) { |
| 145 | - $builder->addDefinition($this->prefix('commands' . lcfirst($name))) |
|
| 145 | + $builder->addDefinition($this->prefix('commands'.lcfirst($name))) |
|
| 146 | 146 | ->setType($cmd); |
| 147 | 147 | } |
| 148 | 148 | } |