Skip to content

Commit 75fa5a5

Browse files
committed
Psalm-fixes
1 parent 32fdf8a commit 75fa5a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/XMLSecEnc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ public function setNode(DOMNode $node): void
139139
* @param bool $replace Whether the encrypted node should be replaced in the original tree. Default is true.
140140
* @throws \Exception
141141
*
142-
* @return \DOMElement The <xenc:EncryptedData>-element.
142+
* @return \DOMNode|false The <xenc:EncryptedData>-element.
143143
*/
144-
public function encryptNode(XMLSecurityKey $objKey, bool $replace = true): DOMElement
144+
public function encryptNode(XMLSecurityKey $objKey, bool $replace = true)
145145
{
146146
$data = '';
147147
if (empty($this->rawNode)) {

0 commit comments

Comments
 (0)