@@ -12,7 +12,7 @@ |
||
12 | 12 | * @date 26.02.17 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\MQTTClient\Logger\Formatter; |
18 | 18 |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * @date 13.03.17 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\MQTTClient\Exceptions; |
18 | 18 |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * @date 13.03.17 |
13 | 13 | */ |
14 | 14 | |
15 | -declare(strict_types = 1); |
|
15 | +declare(strict_types=1); |
|
16 | 16 | |
17 | 17 | namespace IPub\MQTTClient\Exceptions; |
18 | 18 |
@@ -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 | } |
@@ -18,16 +18,10 @@ |
||
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 Symfony\Component\EventDispatcher; |
26 | - |
|
27 | 23 | use React; |
28 | - |
|
29 | 24 | use Psr\Log; |
30 | - |
|
31 | 25 | use IPub\MQTTClient; |
32 | 26 | use IPub\MQTTClient\Client; |
33 | 27 | use IPub\MQTTClient\Commands; |
@@ -41,7 +41,6 @@ |
||
41 | 41 | private $client; |
42 | 42 | |
43 | 43 | /** |
44 | - * @param Mqtt\Message $message |
|
45 | 44 | * @param Client\IClient $client |
46 | 45 | */ |
47 | 46 | public function __construct( |
@@ -15,9 +15,7 @@ |
||
15 | 15 | namespace IPub\MQTTClient\Events; |
16 | 16 | |
17 | 17 | use Symfony\Contracts\EventDispatcher; |
18 | - |
|
19 | 18 | use BinSoul\Net\Mqtt; |
20 | - |
|
21 | 19 | use IPub\MQTTClient\Client; |
22 | 20 | |
23 | 21 | /** |
@@ -41,7 +41,6 @@ |
||
41 | 41 | private $client; |
42 | 42 | |
43 | 43 | /** |
44 | - * @param Mqtt\Message $message |
|
45 | 44 | * @param Client\IClient $client |
46 | 45 | */ |
47 | 46 | public function __construct( |
@@ -15,9 +15,7 @@ |
||
15 | 15 | namespace IPub\MQTTClient\Events; |
16 | 16 | |
17 | 17 | use Symfony\Contracts\EventDispatcher; |
18 | - |
|
19 | 18 | use BinSoul\Net\Mqtt; |
20 | - |
|
21 | 19 | use IPub\MQTTClient\Client; |
22 | 20 | |
23 | 21 | /** |