@@ -20,13 +20,13 @@ |
||
20 | 20 | public static function digestComparisonFailed() |
21 | 21 | { |
22 | 22 | return new static('The XML content does not match the Digest Value. ' |
23 | - . 'Probably modified after it was signed'); |
|
23 | + . 'Probably modified after it was signed'); |
|
24 | 24 | } |
25 | 25 | |
26 | 26 | public static function signatureComparisonFailed() |
27 | 27 | { |
28 | 28 | return new static('The XML SIGNATURE does not match. ' |
29 | - . 'Probably modified after it was signed.'); |
|
29 | + . 'Probably modified after it was signed.'); |
|
30 | 30 | } |
31 | 31 | |
32 | 32 |
@@ -227,7 +227,7 @@ |
||
227 | 227 | */ |
228 | 228 | public static function replaceLineBreak($txt) |
229 | 229 | { |
230 | - $str = preg_replace('/\r\n?/', ';', $txt); |
|
231 | - return preg_replace('/\r|\n/', ';', $str); |
|
230 | + $str = preg_replace('/\r\n?/', ';', $txt); |
|
231 | + return preg_replace('/\r|\n/', ';', $str); |
|
232 | 232 | } |
233 | 233 | } |