Completed
Pull Request — master (#6)
by Adam
07:08
created
src/IPub/MQTTClient/Exceptions/RuntimeException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/IPub/MQTTClient/Exceptions/LogicException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/IPub/MQTTClient/Events/SubscribeEvent.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,6 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -15,9 +15,7 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
src/IPub/MQTTClient/Events/UnsubscribeEvent.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,6 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -15,9 +15,7 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
src/IPub/MQTTClient/Configuration/Connection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  * @date           14.03.17
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\MQTTClient\Configuration;
18 18
 
Please login to merge, or discard this patch.
src/IPub/MQTTClient/Configuration/Broker.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
  * @date           14.03.17
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\MQTTClient\Configuration;
18 18
 
@@ -113,10 +113,10 @@  discard block
 block discarded – undo
113 113
 	public function getUri() : string
114 114
 	{
115 115
 		if ($this->httpHost !== NULL) {
116
-			return $this->httpHost . ':' . $this->port;
116
+			return $this->httpHost.':'.$this->port;
117 117
 
118 118
 		} elseif ($this->address !== NULL) {
119
-			return $this->address . ':' . $this->port;
119
+			return $this->address.':'.$this->port;
120 120
 		}
121 121
 
122 122
 		throw new Exceptions\InvalidStateException('Broker http host or address is not specified');
Please login to merge, or discard this patch.
src/IPub/MQTTClient/DI/MQTTClientExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
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
 
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
 			];
141 141
 
142 142
 			foreach ($commands as $name => $cmd) {
143
-				$builder->addDefinition($this->prefix('commands.' . lcfirst($name)))
143
+				$builder->addDefinition($this->prefix('commands.'.lcfirst($name)))
144 144
 					->setType($cmd);
145 145
 			}
146 146
 		}
Please login to merge, or discard this patch.