@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | { |
167 | 167 | if (OPENSSL_VERSION_NUMBER < 0x10000000) { |
168 | 168 | throw new Error( |
169 | - 'OpenSSL has to be at least version 1.0.0, this is ' . OPENSSL_VERSION_TEXT, |
|
169 | + 'OpenSSL has to be at least version 1.0.0, this is '.OPENSSL_VERSION_TEXT, |
|
170 | 170 | ERR_OLD_OPENSSL |
171 | 171 | ); |
172 | 172 | } |
@@ -219,7 +219,7 @@ discard block |
||
219 | 219 | } |
220 | 220 | |
221 | 221 | if (property_exists($response, 'errorCode') && $response->errorCode !== 0) { |
222 | - throw new Error('User-agent returned error. Error code: ' . $response->errorCode, ERR_BAD_UA_RETURNING); |
|
222 | + throw new Error('User-agent returned error. Error code: '.$response->errorCode, ERR_BAD_UA_RETURNING); |
|
223 | 223 | } |
224 | 224 | |
225 | 225 | if (!is_bool($includeCert)) { |
@@ -346,7 +346,7 @@ discard block |
||
346 | 346 | } |
347 | 347 | |
348 | 348 | if (property_exists($response, 'errorCode') && $response->errorCode !== 0) { |
349 | - throw new Error('User-agent returned error. Error code: ' . $response->errorCode, ERR_BAD_UA_RETURNING); |
|
349 | + throw new Error('User-agent returned error. Error code: '.$response->errorCode, ERR_BAD_UA_RETURNING); |
|
350 | 350 | } |
351 | 351 | |
352 | 352 | /** |
@@ -524,7 +524,7 @@ discard block |
||
524 | 524 | */ |
525 | 525 | $der = "\x30\x59\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01"; |
526 | 526 | $der .= "\x06\x08\x2a\x86\x48\xce\x3d\x03\x01\x07\x03\x42"; |
527 | - $der .= "\0" . $key; |
|
527 | + $der .= "\0".$key; |
|
528 | 528 | |
529 | 529 | $pem = "-----BEGIN PUBLIC KEY-----\r\n"; |
530 | 530 | $pem .= chunk_split(base64_encode($der), 64); |