Completed
Pull Request — master (#61)
by
unknown
08:44
created
src/u2flib_server/U2F.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
     public function __construct($appId, $attestDir = null)
99 99
     {
100 100
         if (OPENSSL_VERSION_NUMBER < 0x10000000) {
101
-            throw new Error('OpenSSL has to be at least version 1.0.0, this is ' . OPENSSL_VERSION_TEXT, ERR_OLD_OPENSSL);
101
+            throw new Error('OpenSSL has to be at least version 1.0.0, this is '.OPENSSL_VERSION_TEXT, ERR_OLD_OPENSSL);
102 102
         }
103 103
         $this->appId = $appId;
104 104
         $this->attestDir = $attestDir;
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
         }
145 145
 
146 146
         if (property_exists($response, 'errorCode') && $response->errorCode !== 0) {
147
-            throw new Error('User-agent returned error. Error code: ' . $response->errorCode, ERR_BAD_UA_RETURNING);
147
+            throw new Error('User-agent returned error. Error code: '.$response->errorCode, ERR_BAD_UA_RETURNING);
148 148
         }
149 149
 
150 150
         if (!is_bool($includeCert)) {
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
         }
258 258
 
259 259
         if (property_exists($response, 'errorCode') && $response->errorCode !== 0) {
260
-            throw new Error('User-agent returned error. Error code: ' . $response->errorCode, ERR_BAD_UA_RETURNING);
260
+            throw new Error('User-agent returned error. Error code: '.$response->errorCode, ERR_BAD_UA_RETURNING);
261 261
         }
262 262
 
263 263
         /** @var object|null $req */
Please login to merge, or discard this patch.