Skip to content

Commit

Permalink
Psalm-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed May 11, 2020
1 parent 32fdf8a commit 75fa5a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/XMLSecEnc.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ public function setNode(DOMNode $node): void
* @param bool $replace Whether the encrypted node should be replaced in the original tree. Default is true.
* @throws \Exception
*
* @return \DOMElement The <xenc:EncryptedData>-element.
* @return \DOMNode|false The <xenc:EncryptedData>-element.
*/
public function encryptNode(XMLSecurityKey $objKey, bool $replace = true): DOMElement
public function encryptNode(XMLSecurityKey $objKey, bool $replace = true)
{
$data = '';
if (empty($this->rawNode)) {
Expand Down

0 comments on commit 75fa5a5

Please sign in to comment.