@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | { |
114 | 114 | if (OPENSSL_VERSION_NUMBER < 0x10000000) { |
115 | 115 | throw new Error( |
116 | - 'OpenSSL has to be at least version 1.0.0, this is ' . OPENSSL_VERSION_TEXT, |
|
116 | + 'OpenSSL has to be at least version 1.0.0, this is '.OPENSSL_VERSION_TEXT, |
|
117 | 117 | ERR_OLD_OPENSSL |
118 | 118 | ); |
119 | 119 | } |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | |
167 | 167 | if (property_exists($response, 'errorCode') && $response->errorCode !== 0) { |
168 | 168 | throw new Error( |
169 | - 'User-agent returned error. Error code: ' . $response->errorCode, |
|
169 | + 'User-agent returned error. Error code: '.$response->errorCode, |
|
170 | 170 | ERR_BAD_UA_RETURNING |
171 | 171 | ); |
172 | 172 | } |
@@ -298,7 +298,7 @@ discard block |
||
298 | 298 | |
299 | 299 | if (property_exists($response, 'errorCode') && $response->errorCode !== 0) { |
300 | 300 | throw new Error( |
301 | - 'User-agent returned error. Error code: ' . $response->errorCode, |
|
301 | + 'User-agent returned error. Error code: '.$response->errorCode, |
|
302 | 302 | ERR_BAD_UA_RETURNING |
303 | 303 | ); |
304 | 304 | } |
@@ -57,7 +57,7 @@ |
||
57 | 57 | */ |
58 | 58 | $der = "\x30\x59\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01"; |
59 | 59 | $der .= "\x06\x08\x2a\x86\x48\xce\x3d\x03\x01\x07\x03\x42"; |
60 | - $der .= "\0" . $key; |
|
60 | + $der .= "\0".$key; |
|
61 | 61 | |
62 | 62 | $pem = "-----BEGIN PUBLIC KEY-----\r\n"; |
63 | 63 | $pem .= chunk_split(Encoding::base64Encode($der), 64); |