| author | Matthew Wild
<mwild1@gmail.com> 2025-05-24 14:52:58 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2025-09-29 13:43:04 UTC |
| parent | 06fad84f804822e0192995a40ecc4736b73aecb3 |
| snikket/Stanza.hx | +1 | -1 |
diff --git a/snikket/Stanza.hx b/snikket/Stanza.hx index b1358f1..d480965 100644 --- a/snikket/Stanza.hx +++ b/snikket/Stanza.hx @@ -283,7 +283,7 @@ class Stanza implements NodeInterface { return tags[0]; } - public function getChildText(?name:Null<String>, ?xmlns:Null<String>):String { + public function getChildText(?name:Null<String>, ?xmlns:Null<String>):Null<String> { var child = getChild(name, xmlns); if(child == null) { return null;