Completed
Push — master ( 19120d...b3609d )
by Paul
02:53
created
src/SIP2Client.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.