Skip to content

Commit 717c0ad

Browse files
committed
Default v1 and UTF-8
1 parent f20373c commit 717c0ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SAML2/DOMDocumentFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,6 @@ public static function fromFile(string $file) : DOMDocument
110110
*/
111111
public static function create() : DOMDocument
112112
{
113-
return new DOMDocument();
113+
return new DOMDocument('1.0', 'UTF-8');
114114
}
115115
}

0 commit comments

Comments
 (0)