@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | /** |
41 | 41 | * @var array name=>value request defaults used for every request |
42 | 42 | */ |
43 | - private $default=[]; |
|
43 | + private $default = []; |
|
44 | 44 | |
45 | 45 | //----------------------------------------------------- |
46 | 46 | // connection handling |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | } |
133 | 133 | //@codeCoverageIgnoreEnd |
134 | 134 | |
135 | - $result = $result . $terminator; |
|
135 | + $result = $result.$terminator; |
|
136 | 136 | } |
137 | 137 | |
138 | 138 | $this->logger->info("SIP2: result={$result}"); |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | $this->logger->warning("SIP2: Message failed CRC check, retry {$depth})"); |
148 | 148 | $result = $this->getRawResponse($request, $depth); |
149 | 149 | } else { |
150 | - $errMsg="SIP2: Failed to get valid CRC after {$this->maxretry} retries."; |
|
150 | + $errMsg = "SIP2: Failed to get valid CRC after {$this->maxretry} retries."; |
|
151 | 151 | $this->logger->critical($errMsg); |
152 | 152 | throw new RuntimeException($errMsg); |
153 | 153 | } |
@@ -174,7 +174,7 @@ discard block |
||
174 | 174 | $this->socket = $this->createClient($address, $bind, $timeout); |
175 | 175 | } catch (\Exception $e) { |
176 | 176 | $this->socket = null; |
177 | - $this->logger->error("SIP2Client: Failed to connect: " . $e->getMessage()); |
|
177 | + $this->logger->error("SIP2Client: Failed to connect: ".$e->getMessage()); |
|
178 | 178 | throw new RuntimeException("Connection failure", 0, $e); |
179 | 179 | } |
180 | 180 |