Skip to content

Commit

Permalink
Default v1 and UTF-8
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Mar 8, 2023
1 parent f20373c commit 717c0ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SAML2/DOMDocumentFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,6 @@ public static function fromFile(string $file) : DOMDocument
*/
public static function create() : DOMDocument
{
return new DOMDocument();
return new DOMDocument('1.0', 'UTF-8');
}
}

0 comments on commit 717c0ad

Please sign in to comment.