Skip to content

Commit

Permalink
Add default value
Browse files Browse the repository at this point in the history
  • Loading branch information
ben221199 committed Aug 28, 2024
1 parent 40a8bab commit 4dc104c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EPPElementHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public static function createEPPResultElement(Document $document,string $code,EP
* @param mixed ...$content
* @return EPPMessageElement
*/
public static function createEPPMessageElement(Document $document,?string $lang,... $content): EPPMessageElement{
public static function createEPPMessageElement(Document $document,?string $lang=null,... $content): EPPMessageElement{
/**@var EPPMessageElement $messageElement*/
$messageElement = $document->createElementNS(EPPNamespaces::EPP_1_0,'msg');
if($lang){
Expand Down

0 comments on commit 4dc104c

Please sign in to comment.