We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32fdf8a commit 75fa5a5Copy full SHA for 75fa5a5
src/XMLSecEnc.php
@@ -139,9 +139,9 @@ public function setNode(DOMNode $node): void
139
* @param bool $replace Whether the encrypted node should be replaced in the original tree. Default is true.
140
* @throws \Exception
141
*
142
- * @return \DOMElement The <xenc:EncryptedData>-element.
+ * @return \DOMNode|false The <xenc:EncryptedData>-element.
143
*/
144
- public function encryptNode(XMLSecurityKey $objKey, bool $replace = true): DOMElement
+ public function encryptNode(XMLSecurityKey $objKey, bool $replace = true)
145
{
146
$data = '';
147
if (empty($this->rawNode)) {
0 commit comments